Queues
Ticket
Ticket Link
Ticket Message
Status
Create a status
POST
/
statuses
Copy
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>"
}'
Copy
{
"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>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
The response is of type object
.
The response is of type null
.
Copy
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>"
}'
Copy
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.