PATCH
/
templates
/
{id}
Update a template
curl --request PATCH \
  --url https://api.reply.io/v3/templates/{id} \
  --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

Path Parameters

id
string
required

Template Id

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

200 - application/json

Template updated 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