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

# Get Ticket Options

Returns the allowed values for the fields of a ticket, with a label and a description for each value, and the limits that apply. Categories list their subjects for each environment. The values are configuration, so they can change without notice.

### Parameters

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

- - allowed_file_types (array)
  - Array of strings. The file extensions that the API reports as allowed for attachments.
- - categories (array)
  - Array of objects. The allowed categories.

    - - allows_token (boolean)
      - Whether this category accepts `token`.
    - - description (string)
      - An explanation of what the option means.
    - - id (string)
      - The ID of the option.
    - - label (string)
      - A short label that you can show to users.
    - - subjects (object)
      - The subjects available in this category, grouped by environment.

        - - production (array)
          - Array of objects. The subjects available in the production environment.

            - - description (string)
              - An explanation of what the option means.
            - - id (string)
              - The ID of the option.
            - - label (string)
              - A short label that you can show to users.
            - - value (string)
              - The value to send in the request.
        - - sandbox (array)
          - Array of objects. The subjects available in the sandbox environment.

            - - description (string)
              - An explanation of what the option means.
            - - id (string)
              - The ID of the option.
            - - label (string)
              - A short label that you can show to users.
            - - value (string)
              - The value to send in the request.
    - - value (string)
      - The value to send in the request.
- - environments (array)
  - Array of objects. The allowed environments.

    - - description (string)
      - An explanation of what the option means.
    - - id (string)
      - The ID of the option.
    - - label (string)
      - A short label that you can show to users.
    - - value (string)
      - The value to send in the request.
- - issue_first_identified (array)
  - Array of objects. The allowed values for when the issue was first identified.

    - - description (string)
      - An explanation of what the option means.
    - - id (string)
      - The ID of the option.
    - - label (string)
      - A short label that you can show to users.
    - - value (string)
      - The value to send in the request.
- - limits (object)
  - The limits that apply to tickets, comments, and attachments.

    - - attachment_max_size_bytes (number)
      - The maximum size of one attachment, in bytes.
    - - attachments_max (number)
      - The maximum number of attachments in one ticket or comment call.
    - - comment_max (number)
      - The maximum length of a comment.
    - - description_max (number)
      - The maximum length of a ticket description.
    - - subject_other_max (number)
      - The maximum length of the free text after `Other -`  in a subject.
    - - token_max (number)
      - The maximum length of the related object token.
- - total_transaction_value (array)
  - Array of objects. The allowed values for the total value of the affected transactions.

    - - description (string)
      - An explanation of what the option means.
    - - id (string)
      - The ID of the option.
    - - label (string)
      - A short label that you can show to users.
    - - value (string)
      - The value to send in the request.
- - transactions_users_affected (array)
  - Array of objects. The allowed values for the number of transactions or users that the issue affects.

    - - description (string)
      - An explanation of what the option means.
    - - id (string)
      - The ID of the option.
    - - label (string)
      - A short label that you can show to users.
    - - value (string)
      - The value to send in the request.

- /v1/support/tickets/options

- Get Ticket Options
- ```curl
  curl -X get 'https://sandboxapi.rapyd.net/v1/support/tickets/options' \
  -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": {
          "categories": [
              {
                  "id": "financial",
                  "value": "Financial Issue",
                  "label": "Financial query",
                  "description": "Questions about money movement: transactions, settlements, fees, FX conversion, wallets, chargebacks and reports.",
                  "allows_token": true,
                  "subjects": {
                      "production": [
                          {
                              "id": "settlement",
                              "value": "settlement",
                              "label": "Settlement",
                              "description": "Questions about a settlement: when it arrives, its amount or a missing settlement."
                          },
                          {
                              "id": "other",
                              "value": "other",
                              "label": "Other",
                              "description": "Any other subject. After \"Other - \" describe the subject in a few words."
                          }
                      ],
                      "sandbox": [
                          {
                              "id": "wallet",
                              "value": "wallet",
                              "label": "Wallet",
                              "description": "Questions about wallet balances, transfers or wallet activity."
                          }
                      ]
                  }
              }
          ],
          "environments": [
              {
                  "id": "production",
                  "value": "Production",
                  "label": "Production",
                  "description": "Your live account, where real payments are processed."
              },
              {
                  "id": "sandbox",
                  "value": "Sandbox",
                  "label": "Sandbox",
                  "description": "The test environment, where no real money moves."
              }
          ],
          "issue_first_identified": [
              {
                  "id": "past_24_hours",
                  "value": "Past24Hours",
                  "label": "Past 24 Hours",
                  "description": "You noticed the issue within the last 24 hours."
              }
          ],
          "transactions_users_affected": [
              {
                  "id": "single",
                  "value": "SingleTransactionUser",
                  "label": "Single",
                  "description": "Only one transaction or user is affected."
              }
          ],
          "total_transaction_value": [
              {
                  "id": "less_than_1k",
                  "value": "LessThan1kUSD",
                  "label": "Less 1K USD",
                  "description": "The transactions affected add up to less than 1,000 USD."
              }
          ],
          "limits": {
              "subject_other_max": 120,
              "description_max": 1500,
              "token_max": 1500,
              "comment_max": 1500,
              "attachments_max": 5,
              "attachment_max_size_bytes": 10485760
          },
          "allowed_file_types": [
              "tif",
              "jpg",
              "jpeg",
              "png",
              "pdf",
              "xls",
              "xlsx",
              "csv"
          ]
      }
  }
  ```
