PPylon Developers
ApiOrganizer Sites

Create site

Creates a new site for the current tenant.

POST
/api/organizer/v1/sites
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/organizer/v1/sites" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "slug": "string",    "defaultLocale": null  }'
{
  "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
}
{
  "code": "string",
  "message": "string"
}