Tickets
Reply to a ticket
Adds a reply to a ticket's linked conversation. Supports both contact and admin replies.
Path Parameters
id- The ticket number
Contact Reply
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be "contact" |
contactId | string | No* | Featurebase contact ID |
contactEmail | string | No* | Contact email |
body | string | Yes | Message content (HTML) |
messageType | string | No | Always "comment" for contacts |
attachmentUrls | string[] | No | Attachment URLs (max 10) |
skipNotifications | boolean | No | Skip notifications (default false) |
createdAt | string | No | ISO 8601 timestamp to backdate the reply |
*At least one of contactId or contactEmail is required.
Admin Reply
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be "admin" |
adminId | string | Yes | ID of the admin authoring the reply |
body | string | Yes | Message content (HTML) |
messageType | string | No | "comment" (default) or "note" for internal notes |
attachmentUrls | string[] | No | Attachment URLs (max 10) |
skipNotifications | boolean | No | Skip notifications (default false) |
createdAt | string | No | ISO 8601 timestamp to backdate the reply |
Response
Returns 201 with a ticket_reply object, not the ticket: the new message's id, the ticketId, the linked conversationId, partType (admin_msg, admin_note or user_msg), body, author and createdAt. A 2xx response means the reply or note is saved: do not send the request again. To read the updated ticket, use GET /v2/tickets/{id}.
Body
application/json
Response
application/json
Created
Object type identifier
Available options:
ticket_replyExample:
ticket_replyType of conversation part created: admin_msg (admin reply), admin_note (internal note) or user_msg (contact reply)
Example:
admin_noteMore in Tickets
GETList ticketsPOSTCreate a ticketGETGet a ticketPATCHUpdate a ticketStill need help? Ask the team