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

# Get Reply

> Retrieve a specific reply by ID

Fetch details of a single reply including its full content and metadata.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier (UUID) of the reply
</ParamField>

## Response

<ResponseField name="data" type="object">
  The reply object

  <Expandable title="Reply Object">
    <ResponseField name="id" type="string">
      Unique reply identifier (UUID)
    </ResponseField>

    <ResponseField name="from_email" type="string">
      Sender's email address
    </ResponseField>

    <ResponseField name="from_name" type="string">
      Sender's name (if available)
    </ResponseField>

    <ResponseField name="to_email" type="string">
      Recipient email address
    </ResponseField>

    <ResponseField name="subject" type="string">
      Email subject line
    </ResponseField>

    <ResponseField name="body_text" type="string">
      Plain text email body
    </ResponseField>

    <ResponseField name="body_html" type="string">
      HTML email body (if available)
    </ResponseField>

    <ResponseField name="status" type="string">
      Reply status: `pending`, `ready`, `sent`, `archived`
    </ResponseField>

    <ResponseField name="category_id" type="string">
      Category UUID
    </ResponseField>

    <ResponseField name="category" type="object">
      Full category object with name, color, and settings
    </ResponseField>

    <ResponseField name="ai_response" type="string">
      AI-generated draft response (if available)
    </ResponseField>

    <ResponseField name="sent_response" type="string">
      The response that was sent (if status is `sent`)
    </ResponseField>

    <ResponseField name="client_id" type="string">
      Associated client UUID
    </ResponseField>

    <ResponseField name="client" type="object">
      Full client object with name and settings
    </ResponseField>

    <ResponseField name="connection_id" type="string">
      Source connection UUID
    </ResponseField>

    <ResponseField name="contact_id" type="string">
      Associated contact UUID
    </ResponseField>

    <ResponseField name="contact" type="object">
      Full contact object with email and name
    </ResponseField>

    <ResponseField name="thread" type="array">
      Previous messages in the email thread
    </ResponseField>

    <ResponseField name="received_at" type="string">
      ISO timestamp when reply was received
    </ResponseField>

    <ResponseField name="handled_at" type="string">
      ISO timestamp when reply was handled
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ISO timestamp when record was created
    </ResponseField>
  </Expandable>
</ResponseField>

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.replyify.ai/api/replies/abc123-def456-ghi789" \
    -H "Authorization: Bearer rpl_your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const replyId = 'abc123-def456-ghi789';
  const response = await fetch(
    `https://app.replyify.ai/api/replies/${replyId}`,
    {
      headers: {
        'Authorization': 'Bearer rpl_your_api_key'
      }
    }
  );
  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  reply_id = 'abc123-def456-ghi789'
  response = requests.get(
      f'https://app.replyify.ai/api/replies/{reply_id}',
      headers={'Authorization': 'Bearer rpl_your_api_key'}
  )
  data = response.json()
  ```
</CodeGroup>

## Response Example

```json theme={null}
{
  "data": {
    "id": "abc123-def456-ghi789",
    "from_email": "john@example.com",
    "from_name": "John Smith",
    "to_email": "outreach@yourcompany.com",
    "subject": "Re: Quick question about your service",
    "body_text": "Hi, I'd love to learn more about what you offer. Can we schedule a call this week?",
    "body_html": "<p>Hi, I'd love to learn more about what you offer. Can we schedule a call this week?</p>",
    "status": "ready",
    "category_id": "cat-meeting-123",
    "category": {
      "id": "cat-meeting-123",
      "name": "Meeting Request",
      "color": "#8B5CF6",
      "is_positive": true
    },
    "ai_response": "Hi John,\n\nThanks for reaching out! I'd be happy to schedule a call to discuss how we can help.\n\nHere's my calendar link: https://cal.com/yourcompany\n\nLooking forward to connecting!\n\nBest,\nYour Team",
    "sent_response": null,
    "client_id": "client-456",
    "client": {
      "id": "client-456",
      "name": "Acme Corp",
      "service_description": "B2B SaaS marketing solutions"
    },
    "connection_id": "conn-789",
    "contact_id": "contact-012",
    "contact": {
      "id": "contact-012",
      "email": "john@example.com",
      "first_name": "John",
      "last_name": "Smith",
      "company": "Example Inc"
    },
    "thread": [
      {
        "from": "outreach@yourcompany.com",
        "to": "john@example.com",
        "subject": "Quick question about your service",
        "body": "Hi John, I noticed your company is growing fast...",
        "sent_at": "2024-01-14T10:00:00Z"
      }
    ],
    "received_at": "2024-01-15T14:30:00Z",
    "handled_at": null,
    "created_at": "2024-01-15T14:30:05Z"
  }
}
```

## Errors

<ResponseField name="404 Not Found">
  ```json theme={null}
  {
    "error": "Reply not found"
  }
  ```

  The specified reply ID doesn't exist in your workspace.
</ResponseField>
