HTTP Get

23/07/2009 11:22:04 / 24/02/2012 16:18:30

The address to send message:
https://service.sms4you.lt/sendsms.php?id=x@xx.xx&pass=xxxx&number=xxxx&message=xxxx

Example:
https://service.sms4you.lt/sendsms.php?id=x@xx.xx&pass=test&number=+37065841316&message=test

Query string parameters:

Parameter

Description

id

User's email

pass

User's password

sender

Dynamic sender ID of the message; allowed length for alphanumeric string up to 11 characters or for numeric string up to 14 characters

number

Recipient GSM number in international format (3706xxxxxxx, 456xxxxxxx, ...)

message

Message text

messageId

Optional. Client's unique number, required to check message status (queued, delivered, rejected).

type=long Optional. If set, a long message (more that 160 characters) will be concatenated.


Return values:

Value

Description

sent:1337

Message is passed to SMSC.

err:errorId

err:1

Wrong email or password

err:2

Wrong number

err:3

Not enough credits

err:4

Failed to validate data:
https://service.sms4you.lt/xml/SMS.xsd

 
Visa Delta/Debit SoloMaestroFasterPay - Barclays HSBC NatWest Lloyds TSBPayPalVisaVisa ElectronMasterCardDiners ClubJCBMoneybookersAmerican Express