Oops! Facing network problem. Unable to load this page. Refresh

Please Wait...

Hello Guest

logo

Get Campaign Tracking Details

Get Campaign Tracking Details api document

WhatsApp
APIs

Get Campaign Tracking Details

Getting Started

Use your Client ID (payload) and API Key (header) to authenticate requests. All requests must be made over HTTPS. API usage is subject to rate limits.

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

POST /whatsapp/v1/campaigns/tracking

Request Information

MethodPOST
API Endpointhttps://insprl.com/api/whatsapp/v1/campaigns/tracking
AuthenticationRequired How to Generate API keys?

Header Parameters

Header Yes Description
Authorization Yes Bearer {CLIENT_KEY}
Content-Type JSON Supported values:
  • application/x-www-form-urlencoded
  • application/json

Request Parameters

ParameterTypeValidateDescription
client_idStringRequiredUse your "CLIENT ID"
account_idStringRequiredYour WhatsApp Account UID
campaign_uidStringRequiredUnique Campaign Identifier
per_pageIntegerOptional (1–100)Number of records per page (default: 50)
statusStringOptionalFilter contacts by status (pending, sent, delivered, read, failed, replied)
phoneStringOptionalSearch contacts by phone number

Response Parameters

ParameterTypeDescription
statusBooleanRequest status (true/false)
codeNumericAPI status code
data.campaignObjectCampaign summary details
campaign_idStringCampaign UID
nameStringCampaign name
statusStringCampaign status (queued, scheduled, running, completed)
totalIntegerTotal contacts count
acceptedIntegerTotal accepted messages
sentIntegerTotal sent messages
deliveredIntegerTotal delivered messages
delivery_rateFloatDelivery percentage
readIntegerTotal read messages
repliedIntegerTotal replied messages
failedIntegerTotal failed messages
created_atDateTimeCampaign creation time
data.contactsArrayList of campaign contacts
phoneStringRecipient phone number
statusStringMessage status
message_idStringWhatsApp message ID
created_atDateTimeMessage created time
sent_atDateTimeMessage sent time
delivered_atDateTimeMessage delivered time
read_atDateTimeMessage read time
replied_atDateTimeReply received time
data.paginationObjectPagination details
current_pageIntegerCurrent page number
last_pageIntegerTotal number of pages
per_pageIntegerRecords per page
totalIntegerTotal contacts count

Response Codes

SPRL Code HTTP Status Mode Response Field Description
100 200 success data Request processed successfully.
101 401 failed message Authentication failed. Invalid or missing API credentials.
102 422 failed errors Parameter validation failed. Check the input fields.
103 403 failed error SPRL account is restricted (temporary or permanent block).
104 400 failed errors Insufficient wallet balance. Recharge required.
105 500 failed message Unexpected server error. Please try again later.
129 429 failed errors API usage limit exceeded (daily, monthly, or total).

Error Flag Reference

Category Flag Type Description
Account ACCOUNT_PERMANENT_BLOCKED account_restricted The SPRL account has been permanently blocked.
Account ACCOUNT_TEMP_BLOCKED account_restricted The SPRL account has been temporarily restricted.
Billing INSUFFICIENT_BALANCE billing_error The wallet balance is insufficient to process the request.
Rate Limit DAILY_LIMIT_REACHED rate_limit_exceeded The daily API usage limit has been exceeded.
Rate Limit MONTHLY_LIMIT_REACHED rate_limit_exceeded The monthly API usage limit has been exceeded.
Rate Limit TOTAL_LIMIT_REACHED rate_limit_exceeded The total API usage limit has been exceeded.
Validation INVALID_PARAMETER validation_error One or more request parameters are invalid.
Authentication INVALID_CREDENTIALS auth_error API credentials are missing or invalid.
Server UNEXPECTED_ERROR server_error An unexpected internal server error occurred.
99.9% Uptime
High Availability Infrastructure
Enterprise Security
OWASP-Aligned Controls
Built for Scale
High-Performance REST APIs

Security & Compliance

We follow industry best practices for API security and data protection.

Our APIs are designed with authentication, rate limiting, and continuous security review.

View our Security & Compliance Overview (PDF)
sprl chrome extension

Download the SPRL Google Chrome extension, It's free!

Easy and Quick way to shorten link with SPRL!

 Download Extension

We provide best customer support.

Please feel free to contact us at 8088 948 172 for support.

Contact Us
×

We use cookies to improve your experience, analyse traffic, and personalise content. By clicking “Accept”, you consent to the use of cookies as described in our Cookie Policy .

Accept cookies Read our Cookie Policy