v1/shifts/create_many

Non-transactional bulk create. Each row is created independently; per-row failures do not abort the batch. Response contains one item per input row (with ok + optional error) and a summary of counts.

Body Params

Bulk create shifts in a shiftplan

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of a shyftplan account.

string

Optional MCP-safety idempotency key. When present with API-token auth, repeated calls with the same fingerprint within the TTL window replay the cached response instead of re-creating the shift preset. Ignored for session auth.

int32
required
≥ 1

Shared shift schedule ID for the batch

shifts
array of objects
required

Per-shift specifications

shifts*
Response
201

Bulk create shifts in a shiftplan

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!