Show Developer Menu

POST /response_templates

Issuing a POST call to response_templates will allow you to create a new Response Template

Example Request
curl 'https://{brand}.reamaze.io/api/v1/topics/{slug}/response_templates' \
  -u {login-email}:{api-token} \
  -H 'Accept: application/json' \
  -H 'Content-type: application/json' \
  -X POST -d '{"response_template": {"name": "foo", "body": "support", "is_personal": 0}}'
Response

A successful request will return the JSON for the newly created response template.

A failed request will return an HTTP 422 Unprocessable Entity with the JSON body explaining the error.

Notes
  • You can optionally pass in a is_personal attribute, if set to 1, will create a personal response template if the user has access to personal response templates.