RCS Analytics REST API

RCS Analytics REST API for SMSGatewayCenter APIs

RCS Analytics REST API

Use the Analytics REST API to fetch RCS message-volume metrics over HTTP, including today's totals, a date-range overview, daily trend, and direction or message-type breakdown. This endpoint accepts GET requests and returns JSON.

 

API Endpoint

https://unify.smsgateway.center/rest/rcs/v1/analytics

Legacy alias without v1 in the path is also supported: /rest/rcs/analytics

 

Authentication

Send your account userid with either password as a request parameter, or your account API key in the apikey request header. userid is required in both cases. Password is not required when the apikey header is used. RCS product and RCS API access must be enabled on your account. Do not publish live usernames or passwords.

 

Actions

ActionDescriptionDefault date range
overviewReturns today's messages, range totals, daily trend, and message breakdown in one response.Last 7 days
todayReturns today's message totals only.Today
messagebreakdownReturns totals grouped by direction and message type for the selected date range.Last 7 days
trendReturns daily message volume for the selected date range.Last 7 days

 

ParameterRequiredDescriptionExample/Value
Authentication
useridYesYour SMSGatewayCenter account username. Required even when the apikey header is used.YourUsername
passwordYes*Your account password. Not required when the apikey header is used.**********
outputYesResponse format. Must be json.json
Optional Parameters
actionOptionalDefaults to overview. Allowed: overview, today, messagebreakdown, trend.overview
fromDateOptionalStart date for range-based actions. Format YYYY-MM-DD. Alias: from. Maximum range is 31 days.2026-07-11
toDateOptionalEnd date for range-based actions. Format YYYY-MM-DD. Alias: to.2026-07-17

 

Sample Request - Analytics Overview (cURL)
curl --location 'https://unify.smsgateway.center/rest/rcs/v1/analytics?userid=YourUsername&password=xxxxx&output=json&action=overview'

 

Sample Request - Today (cURL)
curl --location --get 'https://unify.smsgateway.center/rest/rcs/v1/analytics' \
--header 'apikey: YourApiKey' \
--data-urlencode 'userid=YourUsername' \
--data-urlencode 'output=json' \
--data-urlencode 'action=today'

 

Sample Success Response
{
  "status": "success",
  "analytics": {
    "todayMessages": {"total": 40, "success": 38, "read": 20, "failed": 1, "pending": 0, "notSent": 1, "others": 0},
    "rangeTotals": {"total": 250, "success": 230, "read": 140, "failed": 8, "pending": 0, "notSent": 12, "others": 0},
    "dailyTrend": [
      {"date": "Jul 08", "total": 30, "success": 28, "read": 18, "failed": 1, "notSent": 1}
    ],
    "messageBreakdown": [
      {"direction": 1, "msgType": 3, "total": 200, "success": 185, "read": 120, "failed": 6, "pending": 0, "notSent": 9, "others": 0}
    ]
  },
  "fromDate": "2026-07-11",
  "toDate": "2026-07-17",
  "statusCode": "200",
  "reason": "success"
}

 

Sample Error Response
{
  "status": "error",
  "analytics": [],
  "statusCode": "403",
  "reason": "RCS API access is not enabled for this account."
}

 

Notes

  • Date ranges cannot exceed 31 days.
  • RCS analytics is message-volume only. There is no subscriber trend like Telegram Chat analytics.
  • action=list is treated as overview.
Testimonials

Why do Great Businesses Trust SMS Gateway Center?

We have tied up with other SMS providers also, but SMS GatewayCenter is quite good. Good Service from the team. We are very happy with the service be it accounts related or technical issue. We always get good response.

K

Kurlon IT

2022-08-04

We have an excellent experience with SMS Gateway Center. The services and support has been of very high standard.

I

INOX Air Products

2018-02-09

I’ve been using SMSGatewayCenter’s bulk SMS and WhatsApp services since early 2022 for my small business, and the experience has been fantastic. The platform is intuitive, and the message delivery is incredibly reliable, reaching my customers without fail. The 24/7 support team is quick to assist, and the cost-effectiveness is a big plus. It’s transformed how I connect with my audience, and I highly recommend it to other entrepreneurs! (Google Revirews)

S

Shalabh Arora

2025-04-11

We’ve been using your bulk SMS services for a few months, and the results have been phenomenal. The open rates and customer engagement have gone through the roof. Highly recommend for any business looking to scale fast! (Google Revirews)

R

Reflex

2025-04-11

I’m Vedanth Gowda, leading a finance business, and I’ve been leveraging SMSGatewayCenter’s bulk SMS and WhatsApp tools —absolutely transformative! The platform’s speed and precision in delivering financial alerts to my clients are unmatched, giving me a competitive edge. Samrat’s expertise in tailoring notification workflows for market updates was a standout, and the robust security features instilled trust. The affordable pricing and proactive support team make it a no-brainer. Perfect for finance pros aiming to elevate client trust and efficiency! (Google Revirews)

V

Vedanth Gowda

2025-04-18

From day one, the team at SMS GATEWAY CENTER guided us through setup, testing, and launching campaigns. Their support is A+. Whether you’re new to SMS marketing or experienced, they make it smooth. Thank you Aakash. (Google Revirews)

N

Naval Bhatnagar

2025-04-12

CTA for Unlock Real-Time Messaging – Integrate Today!

Unlock Real-Time Messaging – Integrate Today!

Try Our API in a Sandbox Environment Before Going Live!

Join Thousands of Developers – Try Our API Now!

Get in touchSign up