Use the M2M messaging endpoints to connect Visito with your CRM, helpdesk, analytics pipeline, or internal operations backend.
List Channels
Use channels to discover the connected accounts your integration can work with.
Required scope:
Example response:
Store the channel id when you need to send WhatsApp templates from a specific number.
List Conversations
Required scope:
Common query parameters:
Example:
Get Conversation Detail
Required scope:
Optional query parameters:
Use this endpoint before sending a reply so your integration has the latest conversation context.
Send a Reply
Required scope:
Required headers:
Request body:
You can send text, media, or both:
Successful response:
Replies are queued asynchronously. Delivery results are reconciled into Visito conversation history after the channel dispatcher sends the message.
When To Use WhatsApp Templates
WhatsApp and Instagram have provider rules around free-form messages. For WhatsApp conversations outside the customer service window, use an approved WhatsApp template instead of a free-form reply.
Continue with WhatsApp Templates to create, list, and send templates.