Create a task status
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
POST
/api/v1/task-status
curl \
-X POST 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}" \
-d '{"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": "e4b9daae-fdd5-4273-a763-ae2ddf9a23f2",
"colour": "#398898",
"position": 1,
"created_at": "2025-01-17T11:18:30+00:00",
"updated_at": "2025-01-17T11:18:30+00:00",
"is_archived": false,
"is_not_started": false,
"is_type_completed": false
}