curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
Create a site
Body: { platform, domain, … }.
POST
/
api
/
admin
/
sites
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
Body:
{ platform, domain, … }.
Request body
No request body.Response
Site
Status codes
| Code | Meaning |
|---|---|
201 | OK |
400 | Error |
401 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
Last modified on November 13, 2026