queues
ticket
ticket-unread-count
ticketMessage
queues
Create a new Queue.
POST
/
queues
curl --request POST \
--url https://core.api.ravennahq.com/api/queues \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"name": "<string>",
"prefix": "<string>",
"emoji": "<string>",
"requestChannelId": "<string>",
"triageChannelId": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"workspace": {
"id": "<string>",
"slug": "<string>"
},
"prefix": "<string>",
"emoji": "<string>",
"system": true,
"settings": {
"id": "<string>",
"aiEnabled": true,
"respondOnMessage": "<string>",
"respondOnMention": true,
"allowInboundEmails": true,
"autoCreateTickets": true,
"autoClassify": true,
"autoTag": true,
"enableUserActions": true,
"enableCSAT": true,
"enableEmojiUpdates": true,
"sendAllTicketToTriageChannel": true,
"enableGranularSlackNotifications": true,
"allowGuestUsers": true,
"silentMode": true,
"whitelistedInboundEmails": [
"<string>"
],
"whitelistedInboundDomains": [
"<string>"
]
},
"slackChannels": [
{
"id": "<string>"
}
],
"requestTypes": [
{
"id": "<string>"
}
],
"autoAssignees": [
{
"id": "<string>"
}
],
"_count": {
"tickets": 123
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
curl --request POST \
--url https://core.api.ravennahq.com/api/queues \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"name": "<string>",
"prefix": "<string>",
"emoji": "<string>",
"requestChannelId": "<string>",
"triageChannelId": "<string>"
}'
{
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"workspace": {
"id": "<string>",
"slug": "<string>"
},
"prefix": "<string>",
"emoji": "<string>",
"system": true,
"settings": {
"id": "<string>",
"aiEnabled": true,
"respondOnMessage": "<string>",
"respondOnMention": true,
"allowInboundEmails": true,
"autoCreateTickets": true,
"autoClassify": true,
"autoTag": true,
"enableUserActions": true,
"enableCSAT": true,
"enableEmojiUpdates": true,
"sendAllTicketToTriageChannel": true,
"enableGranularSlackNotifications": true,
"allowGuestUsers": true,
"silentMode": true,
"whitelistedInboundEmails": [
"<string>"
],
"whitelistedInboundDomains": [
"<string>"
]
},
"slackChannels": [
{
"id": "<string>"
}
],
"requestTypes": [
{
"id": "<string>"
}
],
"autoAssignees": [
{
"id": "<string>"
}
],
"_count": {
"tickets": 123
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.