Agile Telecom Agile Telecom
  • Products
    • SMS
    • 2 Way
    • Smart Content Verification
    • HLR Look Up
    • Testing Tool
  • Industries
    • Communications
    • Information Technology
    • Financial Services
    • Marketing
  • ATWS
  • How We Work
    • Who We Are
Sign In Contact us
Sign In Contact us

Send SMS

  • ENG – HTTP Protocol
  • ENG – SMPP Protocol
  • ITA – Protocollo HTTP
  • ITA – Protocollo SMPP

Receive SMS

  • ENG – Inbound SMS Service
  • ITA – Servizio di Ricezione SMS

Credit Check

  • ENG – SMS Credit Check
  • ITA – SMS Credit Check

Mobile Number Portability

  • ENG – Mobile Number Portability
  • ITA – Mobile Number Portability
  • Home
  • Documentation
  • Credit Check
  • ENG – SMS Credit Check
View Categories

ENG – SMS Credit Check

1 min read

HTTP SMS SERVER – CREDIT CHECK #

It is possible to know one’s remaining credit for sending SMS via an HTTP Rest API call structured as follows:

  • URL: https://secure.agiletelecom.com/services/sms/credit
  • METHOD: GET
  • AUTHENTICATION: Basic / Api-Key / OAuth1.1

The response will be in JSON format (with Jsend specification in case of errors):

  • 2XX (message accepted by the server)

{
  "credit": 10.324
}
FIELDTYPENOTES
creditdoubleAccount credit remaining expressed in €
  • 5XX (request not processed due to server-side errors)

{
    "status": "error",
    "message": "Number check service unavailable",
    "code": 9
}
FIELDTYPENOTES
statusstring“error” always applies to 5XX errors
messagestringDescribes the type of server-side problem encountered while processing the request
codeintegerCustom error code. Indicates the type of problem as specified in the error code table given next
CODICEDESCRIZIONE
1Wrong credentials
2Insufficient credit
4Wrong destination number(s), format is not valid.
6At least a message body is missing
7At least a message body is too long or some characters are not supported
8Server error
9Server error (service timeout)
10At least one sender is missing
11User not found (wrong credentials)
13At least one destination number is missing
14Message items are missing
15Destinations and Ids arrays have different lenghts
18Wrong sender or sender not allowed
20Value of globalId not allowed
21Value of maxIdLen not allowed
22Value of udgData is not correct
23Valued of scheduling is not correct
24Value of the body is not allowed
100Source IP is not allowed
What are your Feelings
Table of Contents
  • HTTP SMS SERVER - CREDIT CHECK

Via Baldassarre Peruzzi 26, 41012 – Carpi (MO)

VAT ID: IT02804070361

Agile Telecom is part of Growens

Products

SMS

2Way

Smart content verification

HLR Lookup

Testing Tool

Industries

Communications

Information Technology

Financial services

Marketing

Developers

Documentation

How we work

Our experience

Our people

Get in touch

Contact Us

Privacy Policy

Compliance

GDPR Infrastructure

Terms of Service

Private Area

AgCom Regulation