REST API

Developer API Docs

Build powerful email 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 an email campaign
const response = await fetch('https://api.uzicookie.com/v1/emails/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    from: 'hello@yourcompany.com',
    to: ['subscriber@example.com'],
    subject: 'Your order #12345 has shipped',
    html: '<h1>Good news!</h1><p>Your order is on the way.</p>',
    tags: ['transactional', 'shipping'],
  }),
});

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

API Endpoints

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