try out ↗

← API Index


/api/admin/kanban/state/add

Adds a ticket state to a board

Parameters

Name Description Type
name state name, unique per board (required) string
board_id board id (required) int
color display color (hex or CSS name), default #999999 string
sorting display order within the board, lower = first int
oo-rf optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml String
oo-auth optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized. int

Error Responses

HTTP Status Error Code Description
400 parameter_error Missing or invalid parameters

Response Types

Type Version Description
TicketResult 1 Result of a ticket/kanban mutation (board, state, ticket or detail operation)

OpenAPI

See add.yaml

Referenced in skills