Show Developer Menu

PUT /response_templates/{slug}

Issuing a PUT call to a specific response template will allow you to update the response template.

Example Request
curl 'https://{brand}{id}' \
  -u {login-email}:{api-token} \
  -H 'Accept: application/json' \
  -H 'Content-type: application/json' \
  -X PUT -d '{"response_template": {"name": "new name", "body": "new body", "is_personal": 0}}'

A successful request will return the JSON for the updated response template.

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