POST
/
templates
Create a template
curl --request POST \
  --url https://api.reply.io/v3/templates \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "id": 12345,
  "name": "Sales Follow-up",
  "subject": "Re: Our previous conversation",
  "body": "Hi {{firstName}},\n\nI hope this email finds you well. I wanted to follow up on our previous conversation about...",
  "categoryId": 123
}'
{
  "id": 12345,
  "name": "Sales Follow-up",
  "subject": "Re: Our previous conversation",
  "body": "Hi {{firstName}},\n\nI hope this email finds you well. I wanted to follow up on our previous conversation about...",
  "categoryId": 123
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Body

application/json
name
string
required

The name of the template

id
integer

The Id of the template

subject
string

The subject of the template

body
string

The body of the template

categoryId
integer

The category of the template

Response

201 - application/json

Template created successfully

name
string
required

The name of the template

id
integer

The Id of the template

subject
string

The subject of the template

body
string

The body of the template

categoryId
integer

The category of the template