logo
InboxGet draft reply
Inbox

Get draft reply

Returns the saved draft for this conversation. Drafts are stored per-user with a 72-hour TTL. Returns null if no draft exists.

curl -X GET "https://api.sendkit.ai/v1/inbox/example_string/drafts" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "content": "Thanks for your reply! I wanted to follow up on...",
    "cc": [
      "manager@example.com"
    ],
    "bcc": [],
    "updatedAt": "2024-06-01T16:00:00.000Z"
  }
}
GET
/v1/inbox/{id}/drafts
GET
API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Path Parameters

idstring
Required

Resource ID

Responses

successboolean
dataobject