Getting Messages Count
You can know the count of SMS messages you have sent during a certain period. The API will return an integer that represents the count of SMS messages sent during the provided date range in the API request.To use Cequens Get Sent Messages Count API, first submit an HTTP Request with the date range, then receive a Response that includes the count of SMS messages sent during the provided date range.
Authorization
bearerAuth JWT access token returned by Signing In (POST /auth/v1/tokens/).
In: header
Query Parameters
Interval start date, Supported date formats are['YYYY-MM-DD hh:mm:ss','MM-DD-YYYY hh:mm:ss','YYYY/MM/DD hh:mm:ss','MM/DD/YYYY hh:mm:ss','YYYY-M-D hh:mm:ss','M-D-YYYY hh:mm:ss','YYYY/M/D hh:mm:ss','M/D/YYYY hh:mm:ss']
Interval end date, Supported date formats are['YYYY-MM-DD hh:mm:ss','MM-DD-YYYY hh:mm:ss','YYYY/MM/DD hh:mm:ss','MM/DD/YYYY hh:mm:ss','YYYY-M-D hh:mm:ss','M-D-YYYY hh:mm:ss','YYYY/M/D hh:mm:ss','M/D/YYYY hh:mm:ss']
Response Body
application/json
application/json
curl -X GET "https://example.com/sms/v1/messages/count?from=string&to=string""{\n\n\"replyCode\": 0,\n\n\"replyMessage\": \"Request handled successfully\",\n\n\"requestId\": \"6b8cab90-9997-11e4-9673-8d6d6ef9b02b\",\n\n\"clientRequestId\": 0,\n\n\"requestTime\": \"2016-01-23T05:15:00.311Z\",\n\n\"data\": {\n\n\"Count\": 15\n\n}\n}"Getting Account Balance GET
Through Get Your Current Balance API, you can directly retrieve your current Cequens account balance. You can also get the current balance of your sub-accounts, along with their details, in case your account is a master account. Using Cequens Get Your Current Balance API is quite simple. First, submit an HTTP Request to the API’s designated URL, and then receive a Response that includes your account balance details.
Pricing for a mobile number GET
To retrieve information about the SMS pricing policy for a specific phone number.