Getting Started with Zend

Welcome to the Zend! This guide will help you get started with sending SMS, WhatsApp, and bulk messages.

Quick Start

Base URL: https://api.tryzend.com

1. Authentication

All API requests require authentication using your API key:

x-api-key: YOUR_API_KEY

2. Your First Message

Send a simple SMS message:

POST /messages
{
  "to": "+233593152134",
  "body": "Hello from Zend!",
  "preferred_channels": ["sms"]
}

Response:

{
  "id": "6884da240f0e633b7b979bff",
  "status": "pending",
  "estimated_cost": 0.02,
  "message": "Message queued for processing"
}

Supported Channels

ChannelTemplate RequiredCostBest For
SMSNo0.02Simple notifications
WhatsAppYes0.008Rich media, buttons

Message Types

Simple Messages

  • Direct text messages
  • No template required
  • Works with SMS

Template Messages

  • Pre-approved content
  • Required for WhatsApp
  • Support buttons and media

Bulk Messages

  • Multiple recipients
  • Personalized content
  • Cost-effective