REST API

Developer API Docs

Build powerful WhatsApp integrations with the Uzicookie REST API. Simple, well-documented, and production-ready.

Authentication

Include your API key in the Authorization header on every request.

Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys.

Quick Example

// Send a WhatsApp message
const response = await fetch('https://api.uzicookie.com/v1/messages/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    phone: '+1234567890',
    message: 'Hello! Your order #12345 has been shipped. 📦',
    media_url: 'https://example.com/receipt.pdf', // optional
  }),
});

const data = await response.json();
console.log(data.message_id); // msg_abc123

API Endpoints

POST
/v1/messages/send
POST
/v1/campaigns/create
GET
/v1/campaigns/{id}/stats
POST
/v1/contacts/import
GET
/v1/contacts/list
DELETE
/v1/contacts/{id}
POST
/v1/templates/create
GET
/v1/templates/list
Need help? Our developer support team is available Monday–Friday. Email api@uzicookie.com or visit our community forum.