Quick Start Guide

    5 minutes

    Follow this guide to send your first WhatsApp message using Zaptick API

    1
    1

    Create an Account

    Sign up for a Zaptick account and connect your WhatsApp Business API

    2
    2

    Get Your API Token

    Login to obtain your authentication token

    3
    3

    Send Your First Message

    Use the Messages API to send a WhatsApp message

    1

    Create an Account

    First, create a Zaptick account and connect your WhatsApp Business API account.

    2

    Generate Your API Key

    Generate an API key from your Zaptick dashboard. This key will authenticate all your API requests and link them to your account for automatic wallet billing.

    📍 Steps to Generate:

    1. Login to your Zaptick dashboard
    2. Go to Settings → API Keys
    3. Click "Generate New API Key"
    4. Give it a name (e.g., "My App")
    5. Copy and save your key immediately!
    API Key Format
    zaptick_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6

    ⚠️ Security Warning

    Your API key has full access to your account. Keep it secure and never share it publicly!

    3

    Send Your First Message

    Now let's send a WhatsApp template message using our simplified API! Just provide a phone number and template name - we handle everything else.

    ✨ Super Simple API

    • ✅ No contact IDs needed - just phone numbers
    • ✅ No template IDs needed - just template names
    • ✅ Auto contact creation if doesn't exist
    • ✅ Auto WABA selection (uses your active account)
    • ✅ Auto wallet deduction
    cURL - Send Template Message
    curl -X POST https://zaptick.io/api/send \
      -H "X-API-Key: zaptick_live_your_api_key_here" \
      -H "Content-Type: application/json" \
      -d '{
        "phone": "+919876543210",
        "templateName": "welcome_message"
      }'
    With Variables
    curl -X POST https://zaptick.io/api/send \
      -H "X-API-Key: zaptick_live_your_api_key_here" \
      -H "Content-Type: application/json" \
      -d '{
        "phone": "+919876543210",
        "templateName": "order_update",
        "variables": {
          "1": "John Doe",
          "2": "#ORD-12345"
        }
      }'

    💡 Pro Tips:

    • Template must be APPROVED by WhatsApp first (create in dashboard)
    • Wait 10 minutes after approval before using via API
    • Template names are case-sensitive
    • Variables numbered sequentially: 1, 2, 3...
    • Message cost auto-deducted from your wallet

    ✓ Success Response:

    {
      "success": true,
      "message": "Template message sent successfully",
      "data": {
        "whatsappMessageId": "wamid.HBgNOTE5ODc2...",
        "phone": "+919876543210",
        "templateName": "order_update",
        "contactId": "contact_abc123",
        "wabaId": "waba_xyz789"
      }
    }
    +

    Bonus: Send Simple Text Messages

    You can also send simple text messages (within 24-hour window after customer messages you):

    Text Message API
    curl -X POST https://zaptick.io/api/send-text \
      -H "X-API-Key: zaptick_live_your_api_key_here" \
      -H "Content-Type: application/json" \
      -d '{
        "phone": "+919876543210",
        "message": "Thank you for your order! 🎉"
      }'

    ⚠️ Important Note:

    Text messages only work within 24 hours after the customer last messaged you. Outside this window, use template messages instead (they work anytime!).