CaraCara API
API ReferenceScheduling

Create a scheduler

Create a new scheduling page.

Create a new scheduling page.

POST
/schedulers

Authorization

AuthorizationRequiredBearer <token>

Use your API key (sk_live_* or sk_test_*) as the Bearer token.

In: header

Request Body

application/jsonRequired
nameRequiredstring
slugRequiredstring
descriptionstring
formFieldsarray<object>
curl -X POST "https://platform.caramedical.com/api/v1/schedulers" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "slug": "string",
    "description": "string",
    "formFields": [
      {}
    ]
  }'

Scheduler created.

{
  "scheduler": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "isActive": true,
    "bookingsCount": 0,
    "viewsCount": 0,
    "conversionRate": 0.1,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}