---
title: "Get Ticket"
source_url: https://docs.rapyd.net/en/get-ticket.html
lang: en
---

# Get Ticket

Returns one ticket with its comments and the names of its attachments. Comments include the ticket comments and the relevant email replies, oldest first. Replies from Rapyd support have a `direction` of `incoming`. Attachments have no link. Use [Download Attachment](https://docs.rapyd.net/en/download-attachment.md "Download Attachment") to get one.

### Parameters

### Request Path Parameters

- - ticket_id (string, required)
  - The ID of the ticket.

### Request Header Parameters

- - access_key (string, required)
  - Unique access key provided by Rapyd for each authorized user.

    See [Developers](https://docs.rapyd.net/en/developers.md "Developers").
- - Content-Type (string, required)
  - Indicates that the data appears in JSON format. Set to **application/json**.
- - salt (string, required)
  - Random string. Recommended length: 8-16 characters.
- - signature (string, required)
  - Signature calculated for each request individually.

    See [Request Signatures](https://docs.rapyd.net/en/request-signatures.md "Request Signatures").
- - timestamp (string, required)
  - Timestamp for the request, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).

### 200 OK Response

- - attachments (array)
  - Array of objects. The files attached to the ticket. Use [Download Attachment](https://docs.rapyd.net/en/download-attachment.md "Download Attachment") to get a link for a file.

    - - extension (string)
      - The file extension, without a dot.
    - - id (string)
      - The ID of the attachment.
    - - name (string)
      - The name of the file.
- - comments (array)
  - Array of objects. The comments on the ticket, oldest first.

    - - attachment_ids (array)
      - Array of strings. The IDs of the files attached to the comment.
    - - body (string)
      - The text of the comment.
    - - created_at (number)
      - The time of comment creation, in Unix seconds.
    - - direction (string)
      - Who wrote the comment, from the point of view of the caller. `outgoing` is a comment the caller added through the portal, the API, or email. `incoming` is a reply from Rapyd support.

        - **outgoing** - A comment that you added through the portal, the API, or email.
        - **incoming** - A reply from Rapyd support.
    - - id (string)
      - The ID of the comment.
- - created_at (number)
  - The time of ticket creation, in Unix seconds.
- - description (string)
  - The description of the ticket.
- - environment (string)
  - The environment of the ticket.

    - **Production** - The live environment.
    - **Sandbox** - The sandbox environment.
- - id (string)
  - The ID of the ticket.
- - merchant_account_id (string)
  - The organization token of the merchant that the partner raised the ticket for. Returned for partners only. It is null for the partner's own tickets, and absent when the partner did not raise the ticket for a merchant.
- - status (string)
  - Whether the ticket is open or closed.

    - **open** - The ticket is open.
    - **closed** - The ticket is closed.
- - subject (string)
  - The subject of the ticket. A subject key, or `Other -`  followed by free text.
- - updated_at (number)
  - The time the ticket was last updated, in Unix seconds.

- /v1/support/tickets/:ticket_id

- Get Ticket
- ```curl
  curl -X get 'https://sandboxapi.rapyd.net/v1/support/tickets/49230885151' \
  -H 'access_key: your-access-key-here' \
  -H 'salt: your-random-string-here' \
  -H 'signature: your-calculated-signature-here' \
  -H 'timestamp: your-unix-timestamp-here'
  ```
- ```json
  {
      "status": {
          "error_code": "",
          "status": "SUCCESS",
          "message": "",
          "response_code": "",
          "operation_id": "6f1c1d0e-2b7a-4f0e-9d0a-3c1d8e2b7a11"
      },
      "data": {
          "id": "49230885151",
          "subject": "settlement",
          "description": "Settlement for 2026-09-28 did not arrive.",
          "status": "open",
          "environment": "Production",
          "created_at": 1791447646,
          "updated_at": 1791447759,
          "merchant_account_id": null,
          "comments": [
              {
                  "id": "63278144833",
                  "direction": "outgoing",
                  "body": "Any update on this?",
                  "created_at": 1791447699,
                  "attachment_ids": [
                      "223895039640"
                  ]
              },
              {
                  "id": "m1",
                  "direction": "incoming",
                  "body": "Hello Dana,\nwe are checking with the bank.",
                  "created_at": 1791447900,
                  "attachment_ids": []
              }
          ],
          "attachments": [
              {
                  "id": "223895039640",
                  "name": "Screenshot 2026-10-08",
                  "extension": "png"
              }
          ]
      }
  }
  ```
