premium-sms.gr is a high quality SMS service that enables your applications to integrate with our SMS messaging system. It offers a plain simple yet powerful and dynamic implementation.
You can use your company name as the sender name of the messages and you will receive a delivery report for each one within seconds.
Create an account
To start using premium-sms.gr you need to sign up free of charge.
Your account is ready to use right away and 5 sms will be added to test the quality of the service.
Authentication
All API calls are authenticated the API key generated for your account. Only exception is the api/mobile/check
endpoint, which is free to use without authentication (enter your mobile below to try it). You can reset the key to a new one anytime you need.
Check the SMS API demonstration as "demo" user
or enter your own username and password
This is the 3rd version of the SMS API, it is a superset of the previous versions and therefore backwards compatible with both the 2nd version and the deprecated v. 1
- All API calls can be secured (https) or not (http)
- All API call parameters can be passed via GET or POST
- Default input encoding is the web standard UTF-8
- Mobile numbers are parsed, formated and stored in MSISDN format (Mobile Station International Subscriber Directory Number)
api/mobile
The api/mobile/check
endpoint is the only one that does not require authentication with an account key
. It is free to use for all and very powerful. It can check tens of thousands of mobiles in a fraction of a second
api/mobile/check
Checks for valid mobile in mobile
parameter and returns a mobile object or error
Εnter any mobile below and click the "test it" button to get a quick glimpse on the API
api/key
Endpoint to get
and reset
the API key
api/key/get
Returns the API key of the account
api/key/reset
Resets the API key of the account to a new one randomly generated. Can be used frequently for increased security
api/sms
Most popular endpoints to
- send single sms
- send bulk sms
- schedule sms anytime in the future
- cancel a scheduled sms
api/sms/bulk
Performs a bulk sms submission
api/sms/cancel
Cancels a scheduled sms. You can schedule any sms to be send in the future using the timestamp
parameter of api/sms/send
or similar endpoint
api/sms/send
Most popular endpoint. Sends or schedules a new sms of highest priority
api/viber
Endpoints to send
a Viber message and get the balance
of the account
api/viber/send
Sends a Viber message with the option to fall-back to sms (if the Viber message fails)
api/viber/bulk
Sends Viber messages to multiple destinations with the option to fall-back to sms (if the Viber message fails)
api/viber/balance
It returns a list of the sender ids approved by Viber and the balance of each one
api/me
Account management endpoints
api/me/balance
Returns the balance of the account
Alias of api/balance/get
(older API v.2)
api/2fa
Endpoints to send
and check
a 2-Factor Authentication code.
It is the same authentication methods banks are using world-wide based on the principal:
a. Something you know (username, password) and
b. Something you have (mobile)
api/2fa/send
Sends an authentication code by SMS and returns the status of that message (d
for delivered, f
for failed to deliver or s
if no delivery report yet).
With the wait
parameter you set the maximum time (in seconds) for the call to wait for delivery report.
Using the callback
parameter you set the URL to be called in real time as soon as the delivery report arrives.
If both wait
and callback
paramters are missing then the call will wait for 10 seconds by default for the delivery report.
If the callback
parameter is set, or the wait
parameter is 0, the call will return immediately and if callback is set it will be called as soon as the delivery report arrives.
api/2fa/check
Checks if the parameter code
is the right authentication code and returns ok
if it is or nok
if not.
api/contact
The api/contact/*
calls allow your applications to fully manipulate the contacts of your account and those of your sub-users accounts.
api/contact/add
Adds a new contact to your contact list and returns the contactId
of the inserted contact. To add this contact to a group you need to subsequently call the api/group/addContact
endpoint
api/contact/delete
Deletes contact from your contact list and all associations of the contact with groups
api/contact/get
Returns a contact from your contact list and all associated groups
api/contact/list
Returns a contact list of all contacts
api/contact/update
Updates a contact with new properties
api/group
The api/group/*
calls allow your applications to fully manipulate the groups of your account and the groups of your sub-users accounts
api/group/add
Adds a new group to your group list and returns the groupId
of the inserted group.
To add contacts to this group you need to subsequently call the api/group/addContact
or equivalent endpoint
api/group/addContact
Adds a reference of a contact to a group
api/group/delete
Deletes a group and all associations with contacts for this group.
Note that the contacts of the group still remain in the contact list along with their references to other groups
api/group/deleteAllContacts
Deletes all contact references from a group.
Note that the contacts of the group still remain in the contact list
api/group/deleteContact
Deletes a contact reference from a group.
To delete a contact from the contact list and all references to groups you need to use the api/contact/delete
endpoint
api/group/get
Returns a group from your group list and all associated contacts
api/group/list
Returns a list of all groups
api/history
Gives access to all sms sent for each account
api/history/group/list
Returns a list of all group sms
api/history/single/list
Returns a list of all single sms
api/hlr
The api/hlr/*
calls perform a real time Number Lookup providing information about number portability or/and physical geographical location of mobile numbers. HLR stands for Home Location Register.
The HLR lookup can be very useful for routing optimizations and particularly useful for authentication services.
Each call to the api/hlr/lookup
costs 1/10 of an SMS
api/hlr/lookup
Accepted parameters are the API key of the account and any mobile number to query.
Each call of api/hlr/lookup
costs 1/10 of an SMS and it is subtracted from the hlrBalance
property of the account.
The hlrBalance
of each account is initially 0.
As soon as the api/hlr/lookup
is called it checkes if the hlrBalance
is at least 1 and if it is 0 it converts 1 SMS from the account balance
to 10 hlrBalance
credits.
api/purchase
Gives access to account history of purchases
api/purchase/list
Returns a list of all purchased sms
api/status
Returns the statuses of your messages
api/status/get
Returns all sms whose status has been changed since last call
api/status/sms
Returns the status of a specific sms
api/user
Manipulate your account and your sub-users accounts.
More endpoints coming soon:
api/user/delete
api/user/email
api/user/emailAll
api/user/get
api/user/password
api/user/sms
api/user/smsAll
api/user/update
api/user/add
Creates a new sub-account under the main user account
api/user/list
Returns a list of all sub-accounts
api/user/topup
Adds sms to a sub-account taken from the main user account
api/user/comment
api/user/comment/add
Adds a comment to a sub-account user
api/user/comment/delete
Deletes a comment from a sub-account user
myschool.sch.gr

All schools in Greece can integrate their central school management system myschool.sch.gr with premium-sms.gr to enable direct sms messaging from myschool system to
- Students
- Parents
- Educational personel and others
Settings for myschool.sch.gr

In field 1. enter your account API key
You will find it once you sign in with your account
In field 2. enter the sender of the sms
Must me up to 11 latin characters without spaces
api/user/comment/list
Returns a list of all comments for a sub-account user