SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
Tasks

Choose how the work of a task is shared out. independent: everyone does their own. shared: the first required_count to finish close it for all. sequential: one person at a time in order. primary_helpers: one owner with helpers. 409 mode_locked once people have the work

PUThttps://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/assignment-mode

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

modestringrequired

How the work is shared out.

required_countinteger

For mode shared.

Response

Response Body

modestringThe saved mode.
requiredinteger | nullFor mode shared, how many people must finish.

Request

curl --request PUT \
--url https://app.softsolz.uk/api/v1/services/tasks/tasks/{id}/assignment-mode \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"mode": "shared",
"required_count": 2
}'

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
}
}