Update an AMB template
Replaces the template’s name, primitive type or payload. Administrator only — an agent token gets a 403 with Only administrators can modify saved templates.
Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
The numeric ID of the saved primitive template.
1
Body
The template to save.
Response
Success
The numeric ID of the template.
The account the template belongs to.
The agent who saved it.
Which Apple Messages primitive this template builds.
rich_link, list_picker, time_picker, form, pay, oauth, imessage_extension, simple_message What agents see in the composer. Up to 100 characters.
The primitive payload, in the shape Apple's schema for that primitive expects — the same JSON the composer builds.
ISO-8601 timestamp.
ISO-8601 timestamp.