SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Tasks

Approve or reject time sent for approval. Nobody can decide on their own time (403 own_entry)

POSThttps://app.softsolz.uk/api/v1/services/tasks/time/entries/{id}/decide

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

decisionstringrequired

Approve or reject.

notestring

Why, up to 1000 characters.

Response

Response Body

idintegerTime entry id.
task_idintegerThe task the time was spent on.
taskobjectThe task, with its title.
assignment_idinteger | nullThe work, when given.
userobject | nullMember whose time it is.
sourcestringHow it was recorded.
started_atstring | nullWhen the work started.
ended_atstring | nullWhen it ended. Null while the timer runs.
minutesinteger | nullMinutes worked.
notestring | nullA note.
billablebooleanWhether the time is billable.
statusstringWhere the entry is.
decided_byobject | nullMember who approved or rejected it.
decided_atstring | nullWhen it was approved or rejected.
decision_notestring | nullWhy it was approved or rejected.
cappedbooleanTrue when a timer ran past 12 hours and was cut.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/tasks/time/entries/{id}/decide \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"decision": "approved"
}'

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": {
"id": 90,
"task_id": 40,
"task": {
"id": 1,
"title": "your-title"
},
"assignment_id": 1,
"user": {
"id": 12,
"name": "Sam Lee"
},
"source": "timer",
"started_at": "2026-01-01T09:00:00.000Z",
"ended_at": "2026-01-01T09:00:00.000Z",
"minutes": 1,
"note": "your-note",
"billable": true,
"status": "running",
"decided_by": {
"id": 12,
"name": "Sam Lee"
},
"decided_at": "2026-01-01T09:00:00.000Z",
"decision_note": "your-decision-note",
"capped": true
}
}