Read how the work of a task is shared out and who is waiting their turn
GET
https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/queueRecent 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.
Response
Response Body
modestringHow the work is shared out.requiredinteger | nullFor mode shared, how many people must finish.queuearray of objectsPeople waiting their turn, in order.Request
curl --request GET \ --url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/queue \ --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": { "mode": "independent", "required": 1, "queue": [ { "user_id": 12, "name": "Sam Lee", "position": 1, "state": "waiting" } ] }}