Poll the status of the event used to send a template message to a contact.The field at the $.result.status JSONPath corresponds to the WhatsApp message status of the template message.
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://app.trypeach.io/api/v1/events/{{event_id}}' \
--header'Authorization;'
Responses
🟢200Success
application/json
Body
id
string
required
status
string
required
result
object|null
required
type
enum<string>
required
Allowed value:
template_message
id
string
required
failure_message
string|null
required
liquid_values
object|null
required
An object containing key/value pairs of variables used as part of the template message.Example: {"invoice": "₹1,000"}