POST
/
ticket-messages
curl --request POST \
  --url https://core.api.ravennahq.com/api/ticket-messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
content
string
required
authorId
string
required
ticketId
string
required
source
enum<string> | null
Available options:
WEB,
EMAIL,
FORM,
SLACK,
SLA
slackTimestamp
string | null
slackChannelId
string | null
private
boolean

Response

200
application/json
Successful response
id
string
required
content
string
required
authorId
string
required
author
object
required
ticketId
string
required
source
string | null
required
status
string | null
required
slackChannelId
string | null
required
slackMessages
object[]
required
deleted
boolean
required
reactions
object[]
required
emailMessageId
string | null
required
emailInReplyTo
string | null
required
private
boolean
required
createdAt
string
required
updatedAt
string
required
deletedAt
string | null
required