Headers
-
Content-Type string
-
Accept string
POST
/api/v1/cases-status
curl \
--request POST https://api.plannrcrm.com/api/v1/cases-status \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"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": "d2ee1deb-662a-4cd9-9ad9-72ee1b8256dd",
"colour": "#23852B",
"position": 5,
"created_at": "2025-02-20T10:13:02+00:00",
"updated_at": "2025-02-20T10:13:02+00:00"
}