422 Data refused: details are given field by field
429 Too many calls: wait for Retry-After
Create an event type
POST/types
Scope : types:ecrireCreate, change and delete event types
Creation: the Idempotency-Key header prevents duplicates for 24 hours.
Parameters
Name
In
Type
Required
Description
Idempotency-Key
header
string
no
Une clé de votre choix (255 caractères au plus) : rejouée dans les 24 heures, la même requête rend la première réponse sans rien recréer ; en cours, 409 ; sur une autre route, 422.
422 Data refused: details are given field by field
429 Too many calls: wait for Retry-After
List the event type templates offered at creation
GET/types/templates
Scope : types:lireRead event types, their slots and messages
Request example
curl -X GET 'https://www.artibox-calendar.com/api/v1/types/templates' \
-H "x-api-key: $RDV_TOKEN"
Responses
200 Success
401 Missing, unknown or expired token
403 Missing scope or right refused
404 Not found (or another organisation's)
422 Data refused: details are given field by field
429 Too many calls: wait for Retry-After
Check that an event type address is free
GET/types/slug-check
Scope : types:lireRead event types, their slots and messages
Parameters
Name
In
Type
Required
Description
slug
query
string
yes
except
query
string (uuid)
no
Le type en cours de modification
Request example
curl -X GET 'https://www.artibox-calendar.com/api/v1/types/slug-check' \
-H "x-api-key: $RDV_TOKEN"
Responses
200 Success
401 Missing, unknown or expired token
403 Missing scope or right refused
404 Not found (or another organisation's)
422 Data refused: details are given field by field
429 Too many calls: wait for Retry-After
Preview the slots of unsaved settings
POST/types/slot-preview
Scope : types:ecrireCreate, change and delete event types
Creation: the Idempotency-Key header prevents duplicates for 24 hours.
Parameters
Name
In
Type
Required
Description
Idempotency-Key
header
string
no
Une clé de votre choix (255 caractères au plus) : rejouée dans les 24 heures, la même requête rend la première réponse sans rien recréer ; en cours, 409 ; sur une autre route, 422.