Create an event

Creates an event with its shifts and returns it. Needs a manager API key and an Idempotency-Key header. While Events is off for the organization this answers 403 feature_not_enabled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 200
string | null
string
length between 1 and 64
string
enum
Allowed:
tag_ids
array of strings
length ≤ 20
tag_ids
string
length between 1 and 64
string
length between 1 and 255
shifts
array of objects
required
length between 1 and 200
shifts*
string | null
date-time
required
date-time
required
location
required
integer | null
0 to 1000000
string | null
string | null
Headers
uuid
required
string
required
length between 1 and 255

Required on every Events write. Workspace-scoped for 24 hours: the key, the change and its response are saved together, so repeating the request returns the committed result without changing anything twice, even when the first response was lost. The same key with a different body returns 409 idempotency_conflict. A refused request (for example 409 capacity_full) saves nothing, so a retry with the same key runs again.

Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json