Queues
Ticket
Ticket Link
Ticket Message
webhooks
webhooks
Create a new webhook
POST
/
webhooks
Copy
Ask AI
curl --request POST \
--url https://core.api.ravennahq.com/api/webhooks \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"eventTypes": [
"Ticket",
"Message"
]
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"eventTypes": [
"Ticket"
],
"workspaceId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://core.api.ravennahq.com/api/webhooks \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"eventTypes": [
"Ticket",
"Message"
]
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"eventTypes": [
"Ticket"
],
"workspaceId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.