SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Tasks

Book a resource for a task, for up to 31 days. 409 resource_busy lists the clashing times in details.conflicts

POSThttps://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/bookings

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.

Body Params

resource_idintegerrequired

The resource.

starts_atstringrequired

Start.

ends_atstringrequired

End.

notestring

A note.

Response

Response Body

idintegerBooking id.
task_idintegerThe task it is booked for.
resourceobjectThe resource booked.
starts_atstring | nullStart.
ends_atstring | nullEnd.
notestring | nullA note.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/bookings \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"resource_id": 5,
"starts_at": "2026-12-02T08:00:00Z",
"ends_at": "2026-12-02T12:00:00Z"
}'

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": 14,
"task_id": 1,
"resource": {
"id": 5,
"name": "Van 2",
"kind": "equipment"
},
"starts_at": "2026-01-01T09:00:00.000Z",
"ends_at": "2026-01-01T09:00:00.000Z",
"note": "your-note"
}
}