1. Home
  2. Interswitch Data Service
  3. Profile Analysis
  4. Get total SMS Count

Get total SMS Count

Gets the total count of  SMS records in the dataset that belong to a specific phone number.

Request Body Description

#Field NameData TypeMax LengthRequiredDescription
2requestTypeString
YesThis field specify the request type which in the case MUST be SMS

Request Endpoint: {{baseurl}}{{ilsbase}}/{{msisdn}}/count

NOTE: Change the {{msisdn}} in the url to a valid msisdn for the individual you want to get their total sms counts

Headers

HTTP Method: POST
Content-Type: application/json
Authorization: Bearer access token

Sample Request

Request: {

"requestType": "sms"
}

Sample Response

Response: {
"responseCode": "00",
"responseMessage": "Successful",
"data": {
"recordCount": 40,
"message": null
}
}

Was this article helpful to you? Yes 1 No 1

How can we help?