WhatsApp Inbox REST API

WhatsApp Inbox REST API for SMSGatewayCenter APIs

WhatsApp Inbox REST API

Use the Inbox REST API to fetch incoming WhatsApp messages for your account over HTTP. Filter by WABA number, sender mobile, reply status, assigned agent, message id, and date range. This endpoint is read-only, accepts GET requests, and returns JSON.

 

API Endpoint

https://unify.smsgateway.center/rest/wa/v1/inbox

Legacy alias without v1 in the path is also supported: /rest/wa/inbox

 

Authentication

Send your account userid and password as request parameters, or send your account API key in the apikey request header. WhatsApp product access must be enabled on your account. Do not publish live usernames or passwords.

 

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 list. Only list is supported in v1.list
wabaNumberOptionalFilter by your WhatsApp Business Account number, digits only. Must belong to the authenticated account.9170396xxxxx
mobileNoOptionalFilter by sender mobile number with country code, digits only.919876543210
isRepliedOptionalFilter reply status: 0 not replied, 1 replied.0
agentIdOptionalFilter by assigned agent id (numeric).12
waMsgIdOptionalFilter by WhatsApp message id. Maximum 50 characters.wamid.HBgMOTEXAMPLE
fromDateOptionalStart of received date range. Format YYYY-MM-DD or full date/time. Date-only values start at 00:00:00. Alias: from.2026-07-14
toDateOptionalEnd of received date range. Format YYYY-MM-DD or full date/time. Date-only values end at 23:59:59. Alias: to.2026-07-14
pageOptionalPage number. Default 1.1
limitOptionalRecords per page. Default 50, maximum 200.50

 

Sample Request (cURL)
curl --location 'https://unify.smsgateway.center/rest/wa/v1/inbox?userid=YourUsername&password=xxxxx&output=json&action=list&fromDate=2026-07-14&toDate=2026-07-14&page=1&limit=50'

 

Sample Request - API Key Header (cURL)
curl --location --get 'https://unify.smsgateway.center/rest/wa/v1/inbox' \
--header 'apikey: YourApiKey' \
--data-urlencode 'userid=YourUsername' \
--data-urlencode 'output=json' \
--data-urlencode 'action=list' \
--data-urlencode 'wabaNumber=9170396xxxxx' \
--data-urlencode 'mobileNo=919876543210' \
--data-urlencode 'isReplied=0' \
--data-urlencode 'page=1' \
--data-urlencode 'limit=50'

 

Sample Success Response
{
  "status": "success",
  "inboxList": [
    {
      "incomingId": "8801",
      "wabaNumber": "9170396xxxxx",
      "mobileNo": "919876543210",
      "waMsgId": "wamid.HBgMOTEXAMPLE",
      "messageType": "text",
      "messageTypeId": 1,
      "profileName": "Rahul",
      "message": "Hi, I need help with my order",
      "mediaUrl": "",
      "isReplied": 0,
      "repliedMedium": "",
      "timestamp": 1752480000000,
      "charges": "0.00",
      "agentName": "NA"
    }
  ],
  "statusCode": "200",
  "reason": "success",
  "totalRecords": 1,
  "page": 1,
  "limit": 50,
  "fromDate": "2026-07-14 00:00:00",
  "toDate": "2026-07-14 23:59:59"
}

 

Sample Error Response
{
  "status": "error",
  "inboxList": [],
  "statusCode": "403",
  "reason": "WhatsApp product is not enabled for this account."
}

 

Notes

  • Results are newest first.
  • When wabaNumber is sent, it must belong to the authenticated account.
  • fromDate cannot be after toDate.
  • Expired accounts receive an expiry message and no inbox data.
  • This API is read-only. To reply, use the Send WhatsApp Message API.
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