SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Tasks

Read a shift with its open work and its handover

GEThttps://app.softsolz.uk/api/v1/services/tasks/shifts/{id}

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Response

Response Body

shiftobjectThe shift.
open_itemsarray of objectsOpen work.
handoverobject | nullIts handover, once closed.

Request

curl --request GET \
--url https://app.softsolz.uk/api/v1/services/tasks/shifts/{id} \
--header 'Authorization: Bearer sk_live_your_key'

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 · 200

{
"data": {
"shift": {
"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"
},
"open_items": [
{}
],
"handover": {
"id": 3,
"status": "waiting",
"from_shift": {},
"to_shift": {},
"notes": "your-notes",
"items": [
{}
],
"acknowledged_at": "2026-01-01T09:00:00.000Z"
}
}
}