PPylon Developers
ApiOrganizer Templates

Create template

Saves a site as a reusable template.

POST
/api/organizer/v1/sites/templates
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/templates" \  -H "Content-Type: application/json" \  -d '{    "sourceSiteId": "2e79e6d7-aa23-4809-88e0-c3b884f4b1c7",    "name": "string",    "category": "string",    "description": null  }'
{
  "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d"
}
{
  "code": "string",
  "message": "string"
}