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

x-ravenna-api-token
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.