Skip to main content

WhatsApp messaging

WhatsApp messaging is POST https://api.verifik.co/v2/communication/whatsapp, not GET. The body requires phone and countryCode. The route sets phoneGateway to whatsapp. Optional whatsappTemplate is authentication (the default) or flow2. With flow2, language picks flow2_es or flow2_en, and optional title (1 to 15 characters) is the branded section.

What the call returns​

  • phone and countryCode
  • phoneGateway set to whatsapp
  • status

Use cases​

  • Send a login code on WhatsApp.
  • Choose flow2 when you need a branded template.
  • Keep authentication as the default template.

API Reference​

Endpoint​

POST https://api.verifik.co/v2/communication/whatsapp

A successful send returns phoneGateway whatsapp and status sent.

Headers​

NameValueDescription
Content-Typeapplication/jsonRequest payload format
Acceptapplication/jsonResponse format
AuthorizationBearer <your_token>Client JWT

Parameters​

NameTypeRequiredExampleDescription
phonestringYes3001234567National number only.
countryCodestringYes+57Dial code starting with +.
whatsappTemplatestringNoauthenticationOptional. authentication (default) or flow2.
languagestringNoesOptional. With flow2, selects flow2_es or flow2_en.

Request​

import axios from "axios";

const options = {
method: "POST",
url: "https://api.verifik.co/v2/communication/whatsapp",
headers: {
"Content-Type": "application/json",
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
data: {
"phone": "3001234567",
"countryCode": "+57",
"whatsappTemplate": "authentication"
},
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}

Response​

{
"data": {
"phone": "3001234567",
"countryCode": "+57",
"phoneGateway": "whatsapp",
"status": "sent"
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}

Notes​

  • This route is POST, not GET.
  • whatsappTemplate is optional: authentication or flow2.
  • The route sets phoneGateway to whatsapp.
  • Send a Bearer JWT in the Authorization header.
  • The JSON sample illustrates the fields. A live call returns the record for the values you send.
  • Do not send a cache-bypass flag. This page documents only the client parameters.

Sandbox​

ScenarioParametersResult
Record on filephone: "3001234567", countryCode: "+57"200 when the WhatsApp OTP is sent.
Missing required valueOmit countryCode409 MissingParameter.
Unknown valuewhatsappTemplate: "flow2", language: "es"200 using the flow2 template when language is es.

401 when the bearer token is missing or rejected.