PULSAR

Create Shifts

Create shifts.

Authorization

bearerAuth
Authorization<token>

In: header

Request Body

application/json

The shift information to create shifts in bulk.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

Try it live
POST
/shifts

This endpoint requires authentication — use the Login page at the top of the API Reference, or paste a token in the Authorization section below.

curl -X POST "https://example.com/shifts" \  -H "Content-Type: application/json" \  -d '{    "machineIds": [      0.1    ],    "durationInSeconds": 0.1,    "timezone": "string",    "weekdays": [      "string"    ],    "end": "2019-08-24T14:15:22Z",    "start": "2019-08-24T14:15:22Z",    "title": "string"  }'
[  {}]