Skip to main content
Share one or more contact cards containing details such as a person’s name, phone numbers, email addresses, postal addresses, organisation, and URLs.

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_name
  • first_name
  • last_name
  • middle_name
  • prefix
  • suffix

Request example

The following example shares a contact card with name, phone, email, address, organisation, and URL details.
Replace the example recipient number and contact details with values for your integration. The top-level to value does not include a leading +; phone numbers inside the contact card follow the format shown in the example.

Responses and errors

See Common HTTP Status Codes for documented status meanings and possible causes.