POST
/
v1
/
teams
/
{team_id}
/
tickets
/
{ticket_id}
/
messages
Create Message
curl --request POST \
  --url https://public.api.serval.com/v1/teams/{team_id}/tickets/{ticket_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>",
  "authorUserId": "<string>",
  "createdAt": "1s"
}'
{
  "message": {
    "messageId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

The ID of the Serval team that the ticket belongs to.

ticket_id
string
required

The ID of the Serval ticket that the message belongs to.

Body

application/json

Response

200
application/json

Success

The response is of type object.