Create a client status
Headers
-
Content-Type string
-
Accept string
POST /api/v1/client-status
curl \
-X POST https://api.plannrcrm.com/api/v1/client-status \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"Active","colour":"#FFFFFF"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "Active",
"colour": "#FFFFFF"
}
Response examples (200)
{
"name": "On Hold",
"uuid": "c6be6329-f529-4b5e-bbf9-6cac2f29578e",
"colour": "#FFFFFF",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00"
}