v1/mcp/preview/create_shifts

Compute the preview envelope for createShifts (bulk).

Body Params

Compute the Preview envelope for createShifts (bulk).

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.

int32
required
≥ 1

ID of the shift schedule.

shifts
array of objects
required
shifts*
Responses
201

Signed preview token + impact summary

400

MCP preview requires an EmploymentsApiToken

401

401 Unauthorized

403

Forbidden - caller lacks manage_shifts permission

404

Company / shiftplan / locations_position not found

422

Invalid shift spec (start >= end, empty batch, ...)

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