Reply TemplatesCreate a reply template

Create a reply template

Creates a saved reply template. No conversation is needed, so templates can be set up before the first message ever arrives - the platform composer cannot do this today, it only opens its template dialog from inside an open thread.

Templates created here appear in the platform inbox picker straight away, shortcut included.

curl -X POST "https://api.sendkit.ai/v1/reply-templates" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -d '{
  "name": "Pricing question",
  "content": "<p>Happy to share pricing - what team size are you looking at?</p>",
  "shortcut": "P"
}'
{
  "success": true,
  "data": {
    "_id": "example_string",
    "id": "example_string",
    "workspaceId": "example_string",
    "name": "John Doe",
    "content": "example_string",
    "shortcut": "P",
    "isActive": true,
    "usageCount": 25,
    "lastUsedAt": "2024-12-25T10:00:00Z",
    "createdBy": "example_string",
    "createdAt": "2024-12-25T10:00:00Z",
    "updatedAt": "2024-12-25T10:00:00Z"
  }
}
POST
/v1/reply-templates
POST
Base URLstring

Target server for requests. Edit to use your own host.

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_...)
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring
Required
Max length: 200
contentstring
Required

HTML allowed. Markup that renders empty (for example "<p><br></p>") is rejected.

Max length: 100000
shortcutstring

Optional single letter, uppercased on save. Must not be used by another active template.

Pattern: ^[A-Za-z]$
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_...)

Body

application/json
namestring
Required
Example:
Pricing question
contentstring
Required

HTML allowed. Markup that renders empty (for example "<p><br></p>") is rejected.

Example:
<p>Happy to share pricing - what team size are you looking at?</p>
shortcutstring

Optional single letter, uppercased on save. Must not be used by another active template.

Example:
P

Responses