Pular para o conteúdo principal

POST /custom_statuses

Creates a new custom status.

Example Request

curl -X POST "https://api.callbell.eu/v1/custom_statuses" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json" \
-d '{
"name": "Lunch"
}'

Response

ParameterTypeDescription
namestringName of the custom status
customStatusCustomStatus[]The object representing the custom status

Example Response

response.json
{
"customStatus": {
"name": "Lunch",
"createdAt": "2024-12-04 14:12:14 +0100",
"updatedAt": "2024-12-04 14:12:14 +0100",
"id": "8dbd6f6c-ec09-4b87-a04e-bef1c2ca41db"
}
}