Send a utility message
The full field list is in the API reference.
Buttons and media headers
Utility messages can carry one of three kinds of buttons, with an optional text, image, video or document header:
Media links must be
https. You can pass an uploaded media id instead of link.
Meta also describes messages that mix a link button with reply buttons. It has not published that request format, so LazyApp does not offer it yet.
Login codes
Generated templates
Each message creates or reuses a template. They appear on the Templates page and inGET /v1/templates after a sync, with source set. You cannot edit or delete them, because Meta owns them.
Meta reviews generated templates after sending. If it finds marketing content in utility messages, it can block Direct Send for the account. Sends then fail with error 139200 or 131064, which LazyApp explains. Keep Direct Send to transactional messages.
Results
Turn on template results to see sends, deliveries and reads per generated template on the Templates page. Usingtemplate_name keeps related messages under one template, so their results add up.