ResourcesTickets

Reply to ticket

This endpoint allows you to add a reply to a given ticket.

This endpoint allows you to add a reply to a given ticket.

POST
/v1/tickets/{ticket}/messages

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

Path Parameters

ticket*integer

The ticket path parameter.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

content*string

Response Body

application/json

curl -X POST "https://sell.app/api/v1/tickets/0/messages" \  -H "Content-Type: application/json" \  -d '{    "content": "Hey thanks for reaching out but we do not accept doge."  }'
{
  "data": {
    "id": 2,
    "author": "STORE",
    "sender": null,
    "content": "Hey thanks for reaching out but we do not accept doge.",
    "created_at": "2022-12-12T12:12:12.000000Z",
    "updated_at": "2022-12-12T12:12:12.000000Z",
    "ticket_id": 1
  }
}