> ## Documentation Index
> Fetch the complete documentation index at: https://agents.docs.timepay.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Disposition

> Retrieve a specific disposition by ID

## Overview

Retrieve detailed information about a specific disposition using its unique ID.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication (e.g., `Bearer <your_token>`).
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the disposition
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  Disposition object

  <Expandable title="properties">
    <ResponseField name="id" type="string">
      Unique disposition ID
    </ResponseField>

    <ResponseField name="name" type="string">
      Disposition name
    </ResponseField>

    <ResponseField name="description" type="string">
      Disposition description
    </ResponseField>

    <ResponseField name="priority" type="integer">
      Priority level (0-1000)
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      Creation timestamp
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      Last update timestamp
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "success": true,
    "data": {
      "id": "NiciJNJoGytGUGiyhqgK",
      "name": "Pay in Coming Days/Weeks",
      "description": "Mark if customer says they will pay next day or after few days.",
      "priority": 0,
      "createdAt": "2025-02-06T09:02:03",
      "updatedAt": "2025-02-09T10:30:20"
    }
  }
  ```

  ```json 401 Unauthorized theme={null}
  {
    "success": false,
    "error": "Unauthorized",
    "message": "Missing or invalid authorization header"
  }
  ```

  ```json 403 Forbidden theme={null}
  {
    "success": false,
    "message": "Access denied"
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "success": false,
    "message": "Disposition not found"
  }
  ```

  ```json 500 Server Error theme={null}
  {
    "success": false,
    "error": "InternalServerError",
    "message": "An unexpected error occurred"
  }
  ```
</ResponseExample>

## Error Codes

| Status | Description                                     |
| ------ | ----------------------------------------------- |
| `401`  | Unauthorized - Invalid or missing API key       |
| `403`  | Forbidden - Missing required permissions        |
| `404`  | Disposition with the specified ID was not found |
| `500`  | Internal server error                           |
