Create a case status
Headers
-
Content-Type string
-
Accept string
POST
/api/v1/cases-status
curl \
-X POST https://api.plannrcrm.com/api/v1/cases-status \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"In Progress","colour":"#23852B"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "In Progress",
"colour": "#23852B"
}
Response examples (200)
{
"name": "To Be Reviewed",
"uuid": "d14b5235-1d41-4e88-b540-8fa141d55ca5",
"colour": "#23852B",
"position": 5,
"created_at": "2025-01-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00"
}