POST /send endpoint, multi-recipient sends, scheduled delivery, and richer lookups for phone numbers and RCS capability.
What’s new in v2
- Universal send endpoint —
POST /sendroutes bychannelso one integration can deliver across SMS, RCS, Truecaller, WhatsApp, and Email. - More channels — Native endpoints for
send-whatsappandsend-emailjoin SMS, RCS, and Truecaller. - Multi-recipient sends — Each send endpoint accepts
to,contact,contacts[],group,groups[], or rawnumbersin one call. - Scheduling and references — Use
send_onto schedule delivery andreferenceto set your own message ID. - Lookups —
POST /phone-number-checkandPOST /rcs-capability-checkreturn network, country, and RCS capability for any number. - Account details —
GET /detailsreturns the authenticated user’s profile, balance, and currency.
What Sling offers
- SMS — Transactional, promotional, and OTP text messages.
- RCS — Rich messages with cards, carousels, images, and interactive suggestion chips. Set
fallback_smsto deliver as SMS when RCS is unavailable, andfallback_sms_senderfor the SMS Sender ID (for example,SlingwhilesenderisRCS). - Truecaller messaging — Branded, verified messages delivered through Truecaller. Set
fallback_smsandfallback_sms_senderto fall back to SMS when Truecaller delivery is not possible. - WhatsApp — Business messaging through approved WhatsApp sender IDs.
- Email — Transactional and promotional email through Sling’s email channel.
- Contact management — Create groups and add individual or bulk contacts to target with one call.
- Delivery status — Look up the status of any sent message by its
message_id. - Balance API — Read your available messaging credit and currency at any time.
- Form submissions — Auto-enroll inbound form submissions into your automations.
How it works
Every Sling API request follows the same pattern: include your API token in theAuthorization header and send a JSON body to the appropriate endpoint. The API returns JSON with a status field ("success" or "fail") along with channel-specific data such as message_id, credit_used, and currency.
Authentication uses bearer tokens. Get your token from the dashboard or exchange your email and password for one through POST /auth.
Base URL
All v2 endpoints share the following base URL:POST https://app.sling.com.ng/api/v2/send.
Required headers
Include these headers on every authenticated request:| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer {YOUR_API_TOKEN} |
Content-Type | application/json (POST/PUT requests) |
{YOUR_API_TOKEN} with the token from your dashboard. See Authentication for token instructions.
Migration from v1
v2 is backwards-compatible in spirit — same bearer token, same response shape, samestatus convention — but several endpoint paths and shapes changed. Notable differences:
| Area | v1 | v2 |
|---|---|---|
| Universal sending | Not available | POST /send with channel field |
| RCS capability | GET /rcs/check-capability/{phone} | POST /rcs-capability-check |
| Phone lookup | Not available | POST /phone-number-check |
| Account info | balance only | balance + details |
| Channels | SMS, RCS, Truecaller | SMS, RCS, Truecaller, WhatsApp, Email |
| Multi-recipient | Limited (group, contact) | to, contact, contacts[], group, groups[], numbers |
| Scheduling | Not available | send_on parameter |
Next steps
Authentication
Get your API token and learn how to attach it to every request.
Quick Start
Send your first multi-channel message in under 5 minutes.
Universal send
Use a single endpoint for SMS, RCS, Truecaller, WhatsApp, and Email.
API reference
Browse every v2 endpoint with request and response fields.
Have questions beyond the scope of this documentation? Email the Sling team at [email protected].
