Getting Started with Z-Spark SMS API

Base URL: http://z-spark.com/api/v1

The Z-Spark SMS API allows you to send SMS messages programmatically from your applications. Our RESTful API is simple, reliable, and built for developers.


Quick Start

1. Get API Key

Create an API key from your API Keys page

2. Make Request

Send your first SMS with a simple POST request

3. Track Status

Monitor delivery status in real-time


Your First API Call

Here's a simple cURL example to send your first SMS:

# Send a single SMS
curl -X POST http://z-spark.com/api/v1/sms/send \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+1234567890",
    "message": "Hello from Z-Spark!"
  }'

Available Endpoints

Endpoint Method Description
/sms/send POST Send a single SMS message
/sms/send-bulk POST Send SMS to multiple recipients
/sms/logs GET Retrieve your SMS history
/sms/logs/{id} GET Get details of a specific SMS
/account GET Get your account information
/account/balance GET Check your current balance

Key Features

Global Delivery

Send SMS to any mobile number worldwide

Real-time Status

Track delivery status in real-time

Bulk Sending

Send to multiple recipients with one request

Reliable Infrastructure

99.9% uptime with automatic failover

Developer Friendly

Simple REST API with JSON responses

Detailed Logs

Complete history of all sent messages


Need Help? Check out the specific endpoint documentation in the sidebar, or contact our support team.