Save an AMB template
Stores a primitive payload for reuse. data must match Apple’s schema for that primitive — the same JSON the composer builds — and is validated when the message is actually sent, not here. Any agent may create one; only an administrator may change or delete it afterwards.
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 account
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.