Business Agent
Send a business event
Tell the agent something happened in your systems (order shipped, document verified) so it messages the consumer about it. The consumer must already have a conversation with the number. Answers 202 with the event id; poll it for the outcome.
post/v1/accounts/{accountId}/business-agent/events
Path parameters
accountIdstring required
WhatsApp social account id (the number must be managed through the Cloud API).
Request body
Example request
{
"to": "+34600000000",
"type": "order_shipped"
}Response
Event accepted
Example response
{
"status": "accepted"
}