XISUITEDokumentation

Task Statuses

10 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

List task statuses for the org (optionally filtered by space)#

GET/task-statusesToken

Parameter

NameOrtTypBeschreibung
spaceIdQuerystring–
is_activeQuerystring–
is_completedQuerystring–
searchQuerystring–
with_transitionsQuerystring–

Antworten

  • 200Statuses returned
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/task-statuses" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Create a task status#

POST/task-statusesToken

Request-Bodyapplication/jsonCreateTaskStatusDto

NameTypBeschreibung
organizationIdstring

Legacy frontend compatibility only; ignored in favor of the authenticated organization.

namePflichtstring

Beispiel: In Review

keyPflichtstring

Unique key (lowercase, underscores). Immutable after creation.

Beispiel: in_review

colorPflichtstring

Hex color (#RRGGBB)

Beispiel: #F59E0B

iconobject

Beispiel: lucide:eye

space_idobject

Space ID (null = org-level)

category_idstring

Status category (To Do / In Progress / Done bucket). If omitted, the DB trigger auto-links by is_completed. Explicit null is not allowed — omit the field instead.

sort_ordernumber

Beispiel: 0

is_defaultboolean

Standard: false

is_completedboolean

Marks terminal/completed states (e.g. Done, Closed)

Standard: false

is_activeboolean

Standard: true

allowed_transitionsstring[]

IDs of statuses this status can transition to

Antworten

  • 201Status created
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/task-statuses" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"In Review","key":"in_review","color":"#F59E0B"}'

Get a task status by ID#

GET/task-statuses/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–
with_transitionsQuerystring

Embed allowed transition IDs

Antworten

  • 200Status returned
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Update a task status#

PUT/task-statuses/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonUpdateTaskStatusDto

NameTypBeschreibung
organizationIdstring

Legacy frontend compatibility only; ignored in favor of the authenticated organization.

namestring

Beispiel: In Review

keystring

Immutable. Accepted only when equal to the stored key; a different key is rejected.

Beispiel: in_review

colorstring

Beispiel: #F59E0B

iconobject

Beispiel: lucide:eye

sort_ordernumber

Beispiel: 0

is_defaultboolean–
is_completedboolean–
is_activeboolean–
allowed_transitionsstring[]

Replace the full transition target list

category_idstring

Status category (To Do / In Progress / Done bucket). Explicit null is not allowed — omit the field to leave unchanged.

Antworten

  • 200Status updated
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"organizationId":"…","name":"In Review","key":"in_review"}'

Patch action: toggle_active, set_default, reorder, duplicate#

PATCH/task-statuses/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonPatchTaskStatusDto

NameTypBeschreibung
organizationIdstring

Legacy frontend compatibility only; ignored in favor of the authenticated organization.

actionPflichtstring

Werte: toggle_activeset_defaultreorderduplicate

namestring

Legacy PATCH compatibility: partial update when action is omitted.

Beispiel: In Review

keystring

Legacy PATCH compatibility: immutable; accepted only when equal to the stored key when action is omitted.

Beispiel: in_review

colorstring

Legacy PATCH compatibility: partial update when action is omitted.

Beispiel: #F59E0B

iconobject

Legacy PATCH compatibility: partial update when action is omitted.

Beispiel: lucide:eye

sort_ordernumber

Legacy PATCH compatibility: partial update when action is omitted.

Beispiel: 0

is_defaultboolean

Legacy PATCH compatibility: partial update when action is omitted.

is_completedboolean

Legacy PATCH compatibility: partial update when action is omitted.

is_activeboolean

For toggle_active

allowed_transitionsstring[]

Legacy PATCH compatibility: replace transition target IDs when action is omitted.

new_namestring

For duplicate

category_idstring

Legacy PATCH compatibility: status category bucket when action is omitted. Explicit null is not allowed.

itemsstring[]

For reorder — array of { id, sort_order }

Antworten

  • 200Action applied
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"action":"toggle_active"}'

Delete a task status (blocked if in use by tasks)#

DELETE/task-statuses/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Status deleted
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

List allowed transition target IDs for a status#

GET/task-statuses/{id}/transitionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Transition IDs returned
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}/transitions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Add a single transition target#

POST/task-statuses/{id}/transitionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 201Transition added
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}/transitions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Bulk-replace transition targets for a status#

PUT/task-statuses/{id}/transitionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Transitions replaced
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}/transitions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Remove a single transition target#

DELETE/task-statuses/{id}/transitionsToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Transition removed
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/task-statuses/{id}/transitions" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions