Non-template messages
Last update: 6 hours ago by Irais Aguirre
The non-template messaging service sends free-form text, media, locations, contacts, replies and reactions to your customers.
Integration summary
- Endpoint:
POST https://{{url}}/whatsapp-bsp-api-endpoint-ws/services/v1/messaging- Token: messaging token, in the
Authorization: Bearer {{wa-msg-api-token}}header (how to generate it)- Common fields:
from,to(phone number or BSUID) andtype(details)- Response: the same for every message (see response)
The non-template messaging service lets you:
- Send text messages, attachments, locations, and contacts.
- Reply to a message your customer sent you.
- Write a free-form message, as long as it complies with WhatsApp policies.
All are sent with POST /v1/messaging; headers, common fields and the response are in HTTP connection.
- Text messages: text, text with URL preview, and text with BSUID.
- Media: image, document, video, sticker, audio, voice message, and media with media_id.
- Location: location and location request.
- Contacts.
- Replies and reactions: reply to a message and reaction.
- Call permission request.
