WaCloud

WaCloud API Docs

Join our mission to empower businesses worldwide with seamless WhatsApp communication. Earn generous commissions while helping companies grow.

Quick Start Guide

Get up and running with WaCloud API in minutes

1. Get Your API Key

Sign up for a WaCloud account and generate your unique API key from the dashboard.

2. Make Your First Call

Use our REST API endpoints to send your first WhatsApp message programmatically.

3. Scale Your Integration

Implement webhooks, handle responses, and scale your messaging to thousands of users.

Code Examples

Ready-to-use code examples in popular programming languages

curl -X POST https://api.wacloud.app/v1/messages/send \
  -H "Authorization: API-Key YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "recipient": "88017xxxxxxxx",
  "content": "Hello from the WhatsApp API",
  "media_url": "https://example.com/yourmedia.pdf",
  "instance_id": "QRLKQ28424D5E38",
}'
const response = await fetch('https://api.wacloud.app/v1/messages/send', {
  method: 'POST',
  headers: {
    'Authorization': 'API-Key YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify(
{
  "recipient": "88017xxxxxxxx",
  "content": "Hello from the WhatsApp API",
  "media_url": "https://example.com/yourmedia.pdf",
  "instance_id": "QRLKQ28424D5E38",
}
) }); const result = await response.json(); console.log(result);
import requests

url = "https://api.wacloud.app/v1/messages/send"
headers = {
    "Authorization": "API-Key YOUR_API_KEY",
    "Content-Type": "application/json"
}
data =
{
  "recipient": "88017xxxxxxxx",
  "content": "Hello from the WhatsApp API",
  "media_url": "https://example.com/yourmedia.pdf",
  "instance_id": "QRLKQ28424D5E38",
}
response = requests.post(url, headers=headers, json=data) result = response.json() print(result)
<?php
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.wacloud.app/v1/messages/send',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => array(
    'Authorization: API-Key YOUR_API_KEY',
    'Content-Type: application/json'
  ),
  CURLOPT_POSTFIELDS => json_encode(array(
    'recipient' => '+1234567890',
    'content' => 'Hello from WaCloud!',
'instance_id' => 'QRLKQ28424D5E38', 'media_url' => 'https://example.com/yourmedia.pdf' )) )); $response = curl_exec($curl); curl_close($curl); $result = json_decode($response, true); print_r($result); ?>

Authentication

WaCloud API uses Bearer token authentication. Include your API key in the Authorization header of every request.

Authorization Header

Authorization: API-Key YOUR_API_KEY_HERE

🟢 Success Response

{
"success": true,
"message": "Message sent successfully!",
"code": 200
}

🔴 Error Response

{
"success": false,
"message": "Failed to send message.",
"code": 400
}

Ready to Start Building?

Get your API key and start integrating WaCloud into your applications today.