Endpoint
POST/api/whatsapp/{Sender Hash}/messages
Sandbox base URL: https://testqa.cpaas.globeteleservices.com
Replace {Sender Hash} with the registered sender hash from the WhatsApp channel’s Numbers section in the CPaaS+ Portal.
Headers
Include the following headers in the request.
Generate the Bearer token from the API tab in the CPaaS+ Portal.
Request parameters
The
contacts[].name object supports the following fields:
formatted_namefirst_namelast_namemiddle_nameprefixsuffix
Request example
The following example shares a contact card with name, phone, email, address, organisation, and URL details.to value does not include a leading +; phone numbers inside the contact card follow the format shown in the example.