Login

Forgot password?
(free) Sign up
Save Login
• No setup- or license costs
• Competitively low pricing
• High reliability

SMS via HTTP API

You can easily integrate the Spryng SMS gateway into your own systems. This offers for example the possibility of creating a completely automated SMS application. You can build a connection by using the Spryng HTTP-API. You can place the API in your sourcecode regardless of the programming language you use. This can be: PHP, Perl, Java, ASP etc. This gives you an endless amount of possible purposes for an SMS gateway, possibilities that reach as far as your imagination.

Technical Specification

This API works by sending an HTTP GET request to the Spryng server. This request must contain the following parameters:

http://sms.spryng.co.uk/api.php?request=send&USERNAME=[USERNAME]&PASSWORD=[PASSWORD]&DESTINATION=[DESTINATION]&SENDER=[SENDER]&BODY=[BODY]

Parameter Descriptions Restrictions
USERNAME

Username of the account

 

PASSWORD

Password of the account

 

DESTINATION

Recipient of the SMS

The number that should receive the message. For example: destination=441711234567

SENDER

The Sender ID of the message

length: 16 characters for numeric (with +) or 11 for alphanumeric

BODY

Body of the SMS message

maximum 160 characters

Optionele parameters

SCHEDULE_DATE

Specify the date you wish to send the SMS on

The format is: yyyy-MM-dd-HH-mm-ss

SMSTYPE

SMSTYPE can be ECONOMIC or BUSINESS. BUSINESS is the default value, and sets the route to Spryng Business. ECONOMIC sets the route to Economic.

2 options: ECONOMIC or BUSINESS

REFERENCE

A unique reference that is used to indentify delivery reports that are sent. Click here for more information

Type: Alfanumeric, Size: 9 characters, Min value: 0, Max value: Numeric (999999999) or Alfanumeric (ZZZZZZZZZ)

Description of the response

You will receive one of the following result codes after sending the http request:

  •   01 – Request is received correctly
  • 100 – A parameter is missing from the request
  • 110 – Wrong combination of parameters in the request
  • 120 – Incorrect paramter
  • 130 – Insufficient credit balance

Extra features

Delivery reports

When sending messages using the HTTP API, it's possible to receive deliveryreports containing the status of your message.

Credit level api

Using a API call, it's possible to request your current credit level.

Minimum credit alert

This function allows you to set a threshold for your credit level. When this threshold is reached, an SMS and/or e-mail will be sent to you to inform you about your current credit level.