curl --request POST \
--url https://core.api.ravennahq.com/api/statuses \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"label": "<string>",
"statusGroupId": "<string>",
"requestTypeId": "<string>"
}'
{
"id": "<string>",
"label": "<string>",
"order": 123,
"system": true,
"requestTypes": [
{
"id": "<string>",
"requestTypeId": "<string>"
}
],
"statusGroupId": "<string>",
"statusGroup": {
"id": "<string>",
"label": "<string>"
},
"_count": {
"tickets": 123
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
Successful response
The response is of type object
.
curl --request POST \
--url https://core.api.ravennahq.com/api/statuses \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"label": "<string>",
"statusGroupId": "<string>",
"requestTypeId": "<string>"
}'
{
"id": "<string>",
"label": "<string>",
"order": 123,
"system": true,
"requestTypes": [
{
"id": "<string>",
"requestTypeId": "<string>"
}
],
"statusGroupId": "<string>",
"statusGroup": {
"id": "<string>",
"label": "<string>"
},
"_count": {
"tickets": 123
},
"createdAt": "<string>",
"updatedAt": "<string>"
}