API Documentation
Build powerful marketing automation with our REST API. Verify leads, send WhatsApp campaigns, and manage contacts programmatically.
https://app.onhandi.com/public/api/v1
Quick Start
-
1
Get your API key from your Profile Settings
-
2
Make your first request using the examples below
-
3
Build something amazing with LeadFlux!
Introduction
The LeadFlux API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON request bodies, returns JSON responses, and uses standard HTTP response codes and authentication.
Authentication
The LeadFlux API uses API keys to authenticate requests. You can view and manage your API keys in your Profile Settings.
# Method 1: X-API-Key Header (Recommended)
curl https://app.onhandi.com/public/api/v1/leads \
-H "X-API-Key: lf_live_your_api_key_here"
# Method 2: Bearer Token
curl https://app.onhandi.com/public/api/v1/leads \
-H "Authorization: Bearer lf_live_your_api_key_here"
# Method 3: Query Parameter
curl "https://app.onhandi.com/public/api/v1/leads?api_key=lf_live_your_api_key_here"
Rate Limits
To ensure fair usage and system stability, API requests are rate-limited based on your plan.
Free
Starter
Professional
Enterprise
429 Too Many Requests response. Check the Retry-After header for wait time.Errors
LeadFlux uses conventional HTTP response codes to indicate the success or failure of an API request.
| Code | Description |
|---|---|
200 | Success - Request completed successfully |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid parameters or missing required fields |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - API key is inactive or revoked |
404 | Not Found - Resource doesn't exist |
409 | Conflict - Resource already exists (e.g., duplicate phone) |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Something went wrong on our end |
Session Management
Manage WhatsApp sessions for sending messages. Each session represents a connected WhatsApp number using the WAHA API.
https://app.onhandi.com/public/api/v1/wahaGet all sessions for the authenticated user.
Request
curl -X GET "https://app.onhandi.com/public/api/v1/waha/sessions" \
-H "X-API-Key: YOUR_API_KEY"
Creates a new WhatsApp session.
Parameters
| Name | Type | Description |
|---|---|---|
| namerequired | string | Session name for identification |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/sessions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"name": "My Business API Session"
}'
Get the details, live status, and QR code for a specific session.
Request
curl -X GET "https://app.onhandi.com/public/api/v1/waha/sessions/1d816b1c-b28a-4113-b085-a9c52101b909" \
-H "X-API-Key: YOUR_API_KEY"
Permanently delete a WhatsApp session.
Request
curl -X DELETE "https://app.onhandi.com/public/api/v1/waha/sessions/1d816b1c-b28a-4113-b085-a9c52101b909" \
-H "X-API-Key: YOUR_API_KEY"
WhatsApp Messaging
Send various types of WhatsApp messages through your connected sessions. All messaging endpoints use the same base URL.
https://app.onhandi.com/public/api/v1/wahaSend a text message to a WhatsApp number.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number (without +) |
| typerequired | string | Message type: "text" |
| messagerequired | string | Text message content |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "text",
"message": "Hello from LeadFlux API!"
}'
Send an image with optional caption.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "image" |
| media_urlrequired | string | URL of the image to send |
| captionoptional | string | Image caption |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "image",
"media_url": "https://via.placeholder.com/300",
"caption": "This is a test image"
}'
Send a video with optional caption.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "video" |
| media_urlrequired | string | URL of the video to send |
| captionoptional | string | Video caption |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "video",
"media_url": "https://www.w3schools.com/html/mov_bbb.mp4",
"caption": "Test Video"
}'
Send a document file (PDF, DOC, etc.).
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "document" |
| media_urlrequired | string | URL of the document to send |
| captionoptional | string | Document caption/filename |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "document",
"media_url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"caption": "Document File"
}'
Send a WhatsApp sticker.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "sticker" |
| media_urlrequired | string | URL of the sticker image |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "sticker",
"media_url": "https://upload.wikimedia.org/wikipedia/commons/4/4f/La_comuna_y_el_estado.png"
}'
Send a location pin with coordinates.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "location" |
| latituderequired | string | Location latitude |
| longituderequired | string | Location longitude |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "location",
"latitude": "-1.2841",
"longitude": "36.8155"
}'
Send a contact card (vCard).
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "contact" |
| namerequired | string | Contact name |
| phonerequired | string | Contact phone number |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "contact",
"name": "John Doe",
"phone": "254700000000"
}'
Send an interactive poll.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "poll" |
| questionrequired | string | Poll question |
| optionsrequired | array | Array of poll options |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "poll",
"question": "What is your favorite framework?",
"options": ["Laravel", "CodeIgniter", "Node.js"]
}'
Send interactive button messages.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "buttons" |
| textrequired | string | Message text |
| buttonsrequired | array | Array of button labels |
| footeroptional | string | Footer text |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "buttons",
"text": "Do you agree?",
"footer": "LeadFlux",
"buttons": ["Yes", "No", "Maybe"]
}'
Send interactive list menu messages.
Parameters
| Name | Type | Description |
|---|---|---|
| session_idrequired | string | Your WhatsApp session ID |
| torequired | string | Recipient phone number |
| typerequired | string | Message type: "list" |
| titlerequired | string | List title |
| descriptionrequired | string | List description |
| buttonTextrequired | string | Button text |
| sectionsrequired | array | Array of list sections with rows |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/waha/send" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"session_id": "1d816b1c-b28a-4113-b085-a9c52101b909",
"to": "254110377776",
"type": "list",
"title": "Services Menu",
"description": "Choose a service:",
"buttonText": "Select",
"sections": [
{
"title": "Support",
"rows": [
{"id": "1", "title": "Call Agent"},
{"id": "2", "title": "Open Ticket"}
]
}
]
}'
Leads API
Manage leads in your LeadFlux account. Create, update, verify, and organize your leads.
Parameters
| Name | Type | Description |
|---|---|---|
| pageoptional | integer | Page number (default: 1) |
| limitoptional | integer | Results per page (max: 100, default: 50) |
| statusoptional | string | Filter by status: WORKING, NOT_WORKING, NO_WEBSITE |
| qualifieroptional | string | Filter by: QUALIFIED, UNQUALIFIED |
Request
curl -X GET "https://app.onhandi.com/public/api/v1/leads?page=1&limit=50&status=WORKING" \
-H "X-API-Key: YOUR_API_KEY"
Response
{
"success": true,
"data": {
"leads": [
{
"id": 1,
"name": "Acme Corp",
"phone": "254712345678",
"website": "https://acme.com",
"website_status": "WORKING",
"qualifier": "QUALIFIED"
}
],
"pagination": {
"current_page": 1,
"total": 1245,
"total_pages": 25
}
}
}
Parameters
| Name | Type | Description |
|---|---|---|
| phonerequired | string | Phone number (auto-formatted) |
| nameoptional | string | Contact name (default: "Unknown") |
| websiteoptional | string | Website URL |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/leads" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "254712345678",
"name": "John Doe",
"website": "https://example.com"
}'
Request
curl -X GET "https://app.onhandi.com/public/api/v1/leads/123" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X POST "https://app.onhandi.com/public/api/v1/leads/123" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"_method": "PUT",
"name": "John Doe Updated",
"website": "https://newsite.com"
}'
Request
curl -X DELETE "https://app.onhandi.com/public/api/v1/leads/123" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X POST "https://app.onhandi.com/public/api/v1/leads/import" \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@/path/to/leads.csv"
Trigger bulk verification of lead websites. Returns batch ID for tracking.
Parameters
| Name | Type | Description |
|---|---|---|
| lead_idsoptional | array | Specific lead IDs to verify (all if empty) |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/leads/verify" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lead_ids": [1, 2, 3, 4, 5]
}'
Number Verification API
Verify if phone numbers are registered on WhatsApp before sending messages.
Parameters
| Name | Type | Description |
|---|---|---|
| phonerequired | string | Phone number to verify |
| session_idoptional | integer | WhatsApp session ID (uses default if empty) |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/numbers/verify" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "254712345678"
}'
Response
{
"success": true,
"data": {
"phone": "254712345678",
"is_whatsapp": true,
"whatsapp_jid": "254712345678@s.whatsapp.net",
"status": "valid"
}
}
Parameters
| Name | Type | Description |
|---|---|---|
| phonesrequired | array | Array of phone numbers to verify |
| session_idoptional | integer | WhatsApp session ID |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/numbers/verify-bulk" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phones": ["254712345678", "254787654321", "254799123456"]
}'
Contacts API
Manage your contacts and contact groups for campaign targeting.
Parameters
| Name | Type | Description |
|---|---|---|
| pageoptional | integer | Page number (default: 1) |
| limitoptional | integer | Results per page (default: 50) |
| group_idoptional | integer | Filter by group ID |
| searchoptional | string | Search by name or phone |
Request
curl -X GET "https://app.onhandi.com/public/api/contacts/list?page=1&limit=50&group_id=5" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X GET "https://app.onhandi.com/public/api/contacts/get?id=123" \
-H "X-API-Key: YOUR_API_KEY"
Parameters
| Name | Type | Description |
|---|---|---|
| namerequired | string | Contact name |
| phonerequired | string | Phone number |
| emailoptional | string | Email address |
| group_idoptional | integer | Group ID to assign |
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/create" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "John Doe",
"phone": "254712345678",
"email": "john@example.com",
"group_id": 5
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/update" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 123,
"name": "John Doe Updated",
"email": "newemail@example.com"
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/delete" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 123}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/toggle-favorite" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 123}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/bulk-delete" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [123, 124, 125]
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/bulk-assign-group" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contact_ids": [123, 124, 125],
"group_id": 5
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/import" \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@/path/to/contacts.csv" \
-F "group_id=5"
Request
curl -X GET "https://app.onhandi.com/public/api/contacts/export?format=csv&group_id=5" \
-H "X-API-Key: YOUR_API_KEY" \
-o contacts_export.csv
Contact Groups API
Organize contacts into groups for easier campaign targeting.
Request
curl -X GET "https://app.onhandi.com/public/api/contacts/groups" \
-H "X-API-Key: YOUR_API_KEY"
Parameters
| Name | Type | Description |
|---|---|---|
| namerequired | string | Group name |
| coloroptional | string | Group color (hex code) |
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/groups/create" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "VIP Customers",
"color": "#FF5733"
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/groups/update" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 5,
"name": "VIP Customers Updated",
"color": "#33FF57"
}'
Request
curl -X POST "https://app.onhandi.com/public/api/contacts/groups/delete" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 5}'
Campaigns API
Create, manage, and launch WhatsApp marketing campaigns.
Request
curl -X GET "https://app.onhandi.com/public/api/v1/campaigns?page=1&limit=20" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X GET "https://app.onhandi.com/public/api/v1/campaigns/46" \
-H "X-API-Key: YOUR_API_KEY"
Parameters
| Name | Type | Description |
|---|---|---|
| namerequired | string | Campaign name |
| gateway_typerequired | string | Gateway: "whatsapp" |
| gateway_session_idrequired | integer | WhatsApp session ID |
| recipient_sourcerequired | string | Source: "csv", "groups", "manual" |
| custom_recipientsoptional | array | Phone numbers for manual source |
| message_contentrequired | object | Message content object |
| strategyoptional | string | Sending strategy: sequential, random, burst |
| rate_per_minuteoptional | integer | Messages per minute (default: 10) |
| anti_ban_enabledoptional | boolean | Enable anti-ban (default: true) |
| scheduled_atoptional | string | Schedule date/time (ISO 8601) |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "API Test Campaign",
"description": "Created via API",
"gateway_type": "whatsapp",
"gateway_session_id": 37,
"recipient_source": "csv",
"custom_recipients": ["254712345678", "254787654321"],
"message_content": {
"type": "text",
"text": "Hello from LeadFlux API!"
},
"strategy": "random",
"rate_per_minute": 10,
"anti_ban_enabled": true
}'
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns/46" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"_method": "PUT",
"name": "Updated Campaign Name",
"scheduled_at": "2026-03-23 10:00:00"
}'
Request
curl -X DELETE "https://app.onhandi.com/public/api/v1/campaigns/46" \
-H "X-API-Key: YOUR_API_KEY"
Start a draft or scheduled campaign immediately.
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns/46/launch" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns/46/pause" \
-H "X-API-Key: YOUR_API_KEY"
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns/46/resume" \
-H "X-API-Key: YOUR_API_KEY"
Calculate how many recipients match a filter before creating a campaign.
Request
curl -X POST "https://app.onhandi.com/public/api/v1/campaigns/preview-recipients" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": "groups",
"filter": {
"group_ids": [1, 2]
}
}'
Request
curl -X GET "https://app.onhandi.com/public/api/campaigns/46/analytics?period=all" \
-H "X-API-Key: YOUR_API_KEY"
Response
{
"success": true,
"data": {
"total": 1000,
"sent": 850,
"delivered": 820,
"read": 450,
"failed": 30,
"pending": 150,
"delivery_rate": 96.5,
"read_rate": 54.8
}
}
Request
curl -X GET "https://app.onhandi.com/public/api/campaigns/strategies" \
-H "X-API-Key: YOUR_API_KEY"
Response
{
"success": true,
"data": {
"strategies": [
{"id": "sequential", "name": "Sequential", "description": "Send one by one"},
{"id": "random", "name": "Random", "description": "Randomized delays"},
{"id": "burst", "name": "Burst", "description": "Fast sending for small lists"}
],
"message_types": ["text", "image", "video", "document"]
}
}
API Key Management
Create and manage API keys for programmatic access.
Request
curl -X GET "https://app.onhandi.com/public/api/v1/api-keys" \
-H "X-API-Key: YOUR_API_KEY"
Parameters
| Name | Type | Description |
|---|---|---|
| key_nameoptional | string | Name for this key |
| rate_limit_per_minuteoptional | integer | Requests per minute (10-1000) |
| rate_limit_per_dayoptional | integer | Requests per day (500-500000) |
| expires_atoptional | string | Expiration date (ISO 8601) |
Request
curl -X POST "https://app.onhandi.com/public/api/v1/api-keys" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key_name": "Production Key",
"rate_limit_per_minute": 100,
"rate_limit_per_day": 50000
}'
Request
curl -X POST "https://app.onhandi.com/public/api/v1/api-keys/revoke" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 5}'
Code Examples
<?php
$apiKey = 'lf_live_your_api_key';
$baseUrl = 'https://app.onhandi.com/public/api/v1';
// List leads
$ch = curl_init("$baseUrl/leads");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-API-Key: ' . $apiKey]
]);
$response = curl_exec($ch);
$leads = json_decode($response, true);
// Create lead
$ch = curl_init("$baseUrl/leads");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . $apiKey,
'Content-Type: application/json'
],
CURLOPT_POSTFIELDS => json_encode([
'phone' => '254712345678',
'name' => 'John Doe'
])
]);
$response = curl_exec($ch);
?>
import requests
API_KEY = 'lf_live_your_api_key'
BASE_URL = 'https://app.onhandi.com/public/api/v1'
HEADERS = {'X-API-Key': API_KEY}
# List leads
response = requests.get(f'{BASE_URL}/leads', headers=HEADERS)
leads = response.json()
# Create lead
response = requests.post(
f'{BASE_URL}/leads',
headers=HEADERS,
json={'phone': '254712345678', 'name': 'John Doe'}
)
# Verify number
response = requests.post(
f'{BASE_URL}/numbers/verify',
headers=HEADERS,
json={'phone': '254712345678'}
)
const axios = require('axios');
const API_KEY = 'lf_live_your_api_key';
const BASE_URL = 'https://app.onhandi.com/public/api/v1';
const api = axios.create({
baseURL: BASE_URL,
headers: { 'X-API-Key': API_KEY }
});
// List leads
const leads = await api.get('/leads');
// Create lead
const newLead = await api.post('/leads', {
phone: '254712345678',
name: 'John Doe'
});
// Verify number
const verification = await api.post('/numbers/verify', {
phone: '254712345678'
});