Zilfu
API ReferenceSlots

Create slots

Creates scheduling slots for the given days of the week and time.

POST
/spaces/{space}/slots
AuthorizationBearer <token>

In: header

Path Parameters

space*integer

The space ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://zilfu.app/api/spaces/0/slots" \  -H "Content-Type: application/json" \  -d '{    "time": "string",    "days_of_week": [      1    ]  }'
{}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}