Copy a shift forward by a number of days, one or more times
POST
https://app.softsolz.uk/api/v1/services/tasks/shifts/{id}/copyRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Body Params
days_offsetintegerrequiredDays to move each copy, 1 to 28.
timesintegerHow many copies, 1 to 14. Defaults to 1.
Response
Response Body · array of objects
idintegerShift id.namestringShift name.org_unitobject | nullDepartment or location, or null when there is none.starts_atstring | nullWhen the shift starts.ends_atstring | nullWhen the shift ends.statusstringWhere the shift is.leadobject | nullMember who leads the shift, or null.membersarray of objectsPeople on the shift.open_countintegerOpen work on this shift the caller can see.handover_statusstring | nullwaiting or acknowledged once the shift is closed, otherwise null.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/tasks/shifts/{id}/copy \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "days_offset": 7, "times": 4}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 201
{ "data": [ { "id": 7, "name": "Morning", "org_unit": { "id": 1, "name": "your-name" }, "starts_at": "2026-01-01T09:00:00.000Z", "ends_at": "2026-01-01T09:00:00.000Z", "status": "planned", "lead": { "id": 12, "name": "Sam Lee" }, "members": [ { "id": 1, "name": "your-name", "role": "your-role" } ], "open_count": 1, "handover_status": "your-handover-status" } ]}