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

# Edit Ticket

Changes the subject, the description, or both, of an open ticket. Send at least one of the fields. You cannot edit a closed ticket.

### 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**.
- - idempotency (string)
  - A unique key that prevents the platform from creating the same object twice.

    See [Idempotency](https://docs.rapyd.net/en/idempotency.md "Idempotency").
- - 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).

### Request Body Parameters

- - description (string)
  - The new description. Maximum length: 1500 characters.
- - subject (string)
  - The new subject. Use the same format as in [Create Ticket](https://docs.rapyd.net/en/create-ticket.md "Create Ticket"). The API checks that it is valid for the category and environment of the ticket.

### 200 OK Response

- - 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

- Edit Ticket
- ```curl
  curl -X put 'https://sandboxapi.rapyd.net/v1/support/tickets/49230885151' \
  -H 'access_key: your-access-key-here' \
  -H 'Content-Type: application/json' \
  -H 'salt: your-random-string-here' \
  -H 'signature: your-calculated-signature-here' \
  -H 'timestamp: your-unix-timestamp-here' \
  --data-raw '{
      "subject": "fees",
      "description": "Updated details: the fee on the 2026-09-28 statement differs from our contract."
  }'
  ```
- ```json
  {
      "status": {
          "error_code": "",
          "status": "SUCCESS",
          "message": "",
          "response_code": "",
          "operation_id": "6f1c1d0e-2b7a-4f0e-9d0a-3c1d8e2b7a11"
      },
      "data": {
          "id": "49230885151",
          "subject": "fees",
          "description": "Updated details: the fee on the 2026-09-28 statement differs from our contract.",
          "status": "open",
          "environment": "Production",
          "created_at": 1791447646,
          "updated_at": 1791447759
      }
  }
  ```
