Draft
Create a new draft slot for a specific site. The slot will be created in draft state without a zone or scheduled times.
Draft slots allow you to:
- Pre-register a booking before scheduling
- Add notes and references
- Include custom fields
Authorizations
AuthenticationstringRequired
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Path parameters
site-slugstringRequired
The slug identifier of the site
Body
notestring Β· nullableOptional
Optional note for the slot (can be blank or null)
Responses
201
Draft slot created successfully
application/json
400
Bad request - validation error
application/json
404
Site not found
application/json
post
/flow/sites/{site-slug}/slots/draft/Last updated
Was this helpful?