v1/mcp/preview/create_staff_shifts

Compute the preview envelope for createStaffShifts (bulk assignment).

Body Params

Compute the Preview envelope for createStaffShifts (bulk assignment).

int32
required
≥ 1

ID of a shyftplan account.

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.

staff_shifts
array of objects
required
staff_shifts*
Responses
201

Signed preview token + per-row conflict summary

400

MCP preview requires an EmploymentsApiToken

401

401 Unauthorized

403

Forbidden - caller lacks manage permission on one or more target shifts

404

Company not found

422

Invalid row (empty batch, malformed ids)

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