queues
ticket
ticket-unread-count
ticketMessage
ticketMessage
Create a ticket message
POST
/
ticket-messages
curl --request POST \
--url https://core.api.ravennahq.com/api/ticket-messages \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"content": "<string>",
"authorId": "<string>",
"ticketId": "<string>",
"source": "WEB",
"slackTimestamp": "<string>",
"slackChannelId": "<string>",
"private": true
}'
{
"id": "<string>",
"content": "<string>",
"authorId": "<string>",
"author": {
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"image": "<string>"
},
"ticketId": "<string>",
"source": "<string>",
"status": "<string>",
"slackChannelId": "<string>",
"slackMessages": [
{
"id": "<string>",
"ts": "<string>",
"channelId": "<string>",
"teamId": "<string>",
"ticketMessageId": "<string>",
"threadId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"deleted": true,
"reactions": [
{
"id": "<string>",
"emoji": "<string>",
"authorId": "<string>",
"ticketMessageId": "<string>"
}
],
"emailMessageId": "<string>",
"emailInReplyTo": "<string>",
"private": true,
"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/ticket-messages \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"content": "<string>",
"authorId": "<string>",
"ticketId": "<string>",
"source": "WEB",
"slackTimestamp": "<string>",
"slackChannelId": "<string>",
"private": true
}'
{
"id": "<string>",
"content": "<string>",
"authorId": "<string>",
"author": {
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"image": "<string>"
},
"ticketId": "<string>",
"source": "<string>",
"status": "<string>",
"slackChannelId": "<string>",
"slackMessages": [
{
"id": "<string>",
"ts": "<string>",
"channelId": "<string>",
"teamId": "<string>",
"ticketMessageId": "<string>",
"threadId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"deleted": true,
"reactions": [
{
"id": "<string>",
"emoji": "<string>",
"authorId": "<string>",
"ticketMessageId": "<string>"
}
],
"emailMessageId": "<string>",
"emailInReplyTo": "<string>",
"private": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}