Skip someone still waiting their turn. 404 queue_entry_not_found when they are not waiting
POST
https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/queue/skipRecent 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
user_idintegerrequiredThe person to skip.
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 POST \ --url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/queue/skip \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "user_id": 12}'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" } ] }}