Headers

application/json

Body Required

  • name string Required

    Name of the task status

  • colour string

    Colour of the task status

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
POST /api/v1/task-status
curl \
 --request POST https://api.plannrcrm.com/api/v1/task-status \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"name":"Incomplete","colour":"#ff0000"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Incomplete",
  "colour": "#ff0000"
}
Response examples (201)
{
  "name": "Incomplete",
  "uuid": "091d0f75-eb6a-4d83-abed-7d1d93c0b87c",
  "colour": "#398898",
  "position": 1,
  "created_at": "2025-02-20T10:13:03+00:00",
  "updated_at": "2025-02-20T10:13:03+00:00",
  "is_archived": false,
  "is_not_started": false,
  "is_type_completed": false
}