# Reply to a ticket

You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.

Endpoint: POST /tickets/{id}/reply
Version: Preview
Security: bearerAuth

## Header parameters:

  - `Intercom-Version` (string)
    Intercom API version.By default, it's equal to the version set in the app package.
    Enum: "1.0", "1.1", "1.2", "1.3", "1.4", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14", "Preview"

## Path parameters:

  - `id` (string, required)
    The id of the ticket to target.
{% admonition type="info" name="Not the Inbox ticket ID" %}
This is the internal id field from the API response, not the ticket_id displayed in the Intercom Inbox (e.g., #12345). Use the id value from the ticket object returned by the API.
{% /admonition %}
    Example: "123"

## Request fields (application/json):

  - `skip_notifications` (boolean)
    Option to disable notifications when replying to a Ticket.
    Example: true

## Response 200 fields (application/json):

  - `type` (string)
    Always ticket_part
    Enum: "ticket_part"

  - `id` (string)
    The id representing the part.
    Example: "3"

  - `part_type` (string)
    Type of the part
    Enum: "note", "comment", "quick_reply"

  - `body` (string,null)
    The message body, which may contain HTML.
    Example: "<p>Okay!</p>"

  - `created_at` (integer)
    The time the note was created.
    Example: 1663597223

  - `updated_at` (integer)
    The last time the note was updated.
    Example: 1663597260

  - `author` (object)
    The author that wrote or triggered the part. Can be a bot, admin, team or user.

  - `author.type` (string)
    The type of the author
    Enum: "admin", "bot", "team", "user"

  - `author.id` (string)
    The id of the author
    Example: "274"

  - `author.name` (string,null)
    The name of the author
    Example: "Operator"

  - `author.email` (string)
    The email of the author
    Example: "operator+abcd1234@intercom.io"

  - `attachments` (array)
    A list of attachments for the part.

  - `attachments.type` (string)
    The type of attachment
    Example: "upload"

  - `attachments.name` (string)
    The name of the attachment
    Example: "example.png"

  - `attachments.url` (string)
    The URL of the attachment
    Example: "https://picsum.photos/200/300"

  - `attachments.content_type` (string)
    The content type of the attachment
    Example: "image/png"

  - `attachments.filesize` (integer)
    The size of the attachment
    Example: 100

  - `attachments.width` (integer)
    The width of the attachment
    Example: 100

  - `attachments.height` (integer)
    The height of the attachment
    Example: 100

  - `redacted` (boolean)
    Whether or not the ticket part has been redacted.

## Response 400 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: "error.list"

  - `request_id` (string,null)
    Example: "f93ecfa8-d08a-4325-8694-89aeb89c8f85"

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code
    Example: "unauthorized"

  - `errors.message` (string,null)
    Optional. Human readable description of the error.
    Example: "Access Token Invalid"

  - `errors.field` (string,null)
    Optional. Used to identify a particular field or query parameter that was in error.
    Example: "email"


