Get all task statuses in a firm

GET /api/v1/task-status

Query parameters

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC. Defaults to '-created_at'.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
GET /api/v1/task-status
curl \
 -X GET https://api.plannrcrm.com/api/v1/task-status \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "name": "Incomplete",
      "uuid": "c28b2b94-6557-451e-9138-815e181955a8",
      "colour": "#398898",
      "position": 1,
      "created_at": "2024-10-16T11:10:14+01:00",
      "updated_at": "2024-10-16T11:10:14+01:00",
      "is_archived": false,
      "is_not_started": false,
      "is_type_completed": false
    }
  ]
}