Download OpenAPI specification:Download
Register a new customer
By params:
- login - login pf a new account (required)
- password - login pf a new account (required)
- name - name of the responsbale person pf a new account (required)
- phone - phone pf a new account (required)
- email - email pf a new account (required)
- company_name - a company name pf a new account
- skype - skype pf a new account
`
login | string |
password | string |
name | string |
phone | string |
string | |
skype | string |
company_name | integer |
{- "login": "restap141i",
- "password": "restapirestapi",
- "name": "Dennis",
- "phone": "380662185299",
- "skype": "desrodman",
- "company_name": "tralala LTD"
}
Send SMS using access token.
By params:
- number - list of the phone numbers (required)
- senderID - sender ID from which your sms will be send (required)
- text - content of the message (required)
- type - type of message (SMS, HLR, WAPPUSH, FLASHSMS)
- beginDate - plan date where message will go
- beginTime - plan time where message will go
- lifetime - period how long message will live
- delivery - enbale of authomatical back of DLR reports
WARNING: Not more then 100 messages by one package
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
number | string |
senderID | string |
text | string |
type | string |
beginDate | string |
beginTime | string |
lifetime | integer |
delivery | boolean |
[- {
- "number": [
- "12345678901"
], - "senderID": "SMS",
- "text": "Hello\\nWorld!",
- "type": "sms",
- "beginDate": "2022-09-01",
- "beginTime": "11:00",
- "lifetime": 86400,
- "delivery": false
}, - {
- "number": [
- "12345678902",
- "12345678900"
], - "senderID": "SMSSend",
- "text": "Hello\\nHow are you?"
}
]
Search info about existing SMS for last few days
By params:
- MCC - MCC for search
- MNC - MNC for search (better use togather with MCC)
- sender - senderID
- phone - array of phone numbers
- id_base - array of IDs of the DB
- time_period - time period fpr check
- type_sms - type of the message
- limit - limit of sms in respinse
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
MCC | integer |
MNC | integer |
sender | string |
phone | string |
id_base | string |
time_period | string |
type_sms | string |
limit | integer |
{- "MCC": 224,
- "MNC": 2,
- "sender": "SenderID",
- "phone": [
- "380660977229",
- "17133010164"
], - "id_base": [
- 2,
- 4,
- 65,
- 22
], - "limit": null,
- "time_period": "2023-02-12 00:00:00 - 2023-02-12 23:59:59",
- "type_sms": "sms"
}
Get info about Group of numbers.
By params:
- id_group - id of selected Group
- limit - limit of Groups for view
- offset - page of view
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
id_group | integer |
limit | integer |
offset | integer |
{- "id_group": 0,
- "offset": 0,
- "limit": 10
}
Create a new Group with next credentials
By params:
- name_group - Group name
- time_birth - time sending birthday greetings
- originator_birth - SenderID for birthday greetings
- text_birth - text for birthday greetings
- on_birth - switch of birthday greetings
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
name_group | string |
time_birth | string |
originator_birth | string |
text_birth | string |
on_birth | boolean |
{- "name_group": "bigRest",
- "time_birth": "23:22",
- "originator_birth": "aadfd",
- "text_birth": "Hello #first_name#! Good luck",
- "on_birth": false
}
Delete the Groups
By params:
- id_group - the list of IDs
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
id_group | string |
{- "id_group": [
- -1,
- 2,
- 3,
- 4,
- 5,
- 6,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12
]
}
Get the list of numbers of Group.
By params:
- id_group - id of Group
- numbers - array of numbers
-- number - the number
-- name - the first name of this number
-- surname - the last name of this number
-- patronymic - the middle name of this number
-- date_birth - the birthdat of this number
-- male - the sex (m or f) of this number
-- note_1 - the additinal field 1 of this number
-- note_2 - the additinal field 2 of this number
-- note_3 - the additinal field 3 of this number
-- note_4 - the additinal field 4 of this number
-- note_5 - the additinal field 5 of this number
-- note_6 - the additinal field 6 of this number
-- note_7 - the additinal field 7 of this number
-- note_8 - the additinal field 8 of this number
-- note_9 - the additinal field 9 of this number
-- note_10 - the additinal field 10 of this number
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
id_group | integer |
numbers | string |
{- "id_group": 13,
- "numbers": [
- {
- "number": 12345678901,
- "name": "Iogan",
- "surname": "Bah",
- "patronymic": "Sebastian",
- "date_birth": "1992-12-31",
- "male": "m",
- "note_1": "tralivali",
- "note_2": "tralivali2",
- "note_3": "tralivali3",
- "note_4": "tralivali4",
- "note_5": "tralivali5",
- "note_6": "tralivali6",
- "note_7": "tralivali7",
- "note_8": "tralivali8",
- "note_9": "tralivali9",
- "note_10": "tralivali10"
}, - {
- "number": 12345678900,
- "name": "Liza",
- "surname": "Bah2",
- "patronymic": "",
- "date_birth": "1992-12-31",
- "male": "f",
- "note_1": "tralivali",
- "note_2": "tralivali2",
- "note_3": "tralivali3",
- "note_4": "tralivali4",
- "note_5": "tralivali5",
- "note_6": "tralivali6",
- "note_7": "tralivali7",
- "note_8": "tralivali8",
- "note_9": "tralivali9",
- "note_10": "tralivali10"
}
]
}
Search the list of numbers of Group.
By params:
- id_group - id of Group
- numbers - array of numbers
-- numbers - the numbers list for search
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
id_group | integer |
numbers | string |
{- "id_group": 13,
- "numbers": [
- 12345678900,
- 12345678901,
- 17133010164
]
}
Delete the list of numbers of Group.
By params:
- id_group - id of Group
- numbers - array of numbers
-- numbers - the numbers list for search
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
id_group | integer |
numbers | string |
{- "id_group": 13,
- "numbers": [
- 12345678900,
- 12345678901,
- 17133010164
]
}
Make SMS sending by Group's numbers.
By params:
- senderID - Sender for sending
- text - Content of SMS
- dateStart - Date of sending
- timeStart - Time of sending begin
- timeStop - Time of sending stop
- phone - the number
- id_group - array of groups for sending
- id_group_excluded - array of groups for blocking sending
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
senderID | string |
text | string |
dateStart | string |
timeStart | string |
timeStop | string |
phone | string |
id_group | string |
id_group_excluded | string |
{- "senderID": "SMS",
- "text": "Hello #first_name#, We send sms to #number#",
- "dateStart": "2022-12-14",
- "timeStart": "22:30",
- "timeStop": "22:30",
- "phone": "12345678822",
- "id_group": [
- 13
], - "id_group_excluded": [
- 24,
- 26
]
}
Working with list Black list numbers
By params:
- numbers - array of numbers
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
numbers | string |
{- "numbers": [
- 12345665777,
- 12345665772,
- 12345663377,
- 17884567895
]
}
Search existing list of numbers in Black list
By params:
- numbers - array of numbers
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
numbers | string |
{- "numbers": [
- 12345665777,
- 12345665772,
- 12345663377,
- 17884567895
]
}
Delete existing list of numbers in Black list
By params:
- numbers - array of numbers
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
numbers | string |
{- "numbers": [
- 12345665777,
- 12345665772,
- 12345663377,
- 17884567895
]
}
Delete existing list of numbers in Black list
By params:
- number - array of numbers
- senderID - sender of SMS
- text - content of SMS
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
number | string |
senderID | string |
text | string |
[- {
- "number": [
- "821032015777",
- 12345678901
], - "senderID": "Jomobile",
- "text": "Hello\\nHow are you?"
}
]
Get list of prices by Products via
By params:
- ISO - can be set ISO code of country (like US), but not required
- MCC - can be set MCC code of country (like 310), but not required
- MNC - can be set MNC code of country (like 1), but not required (better use with MCC)
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
numbers | string |
{- "ISO": "full"
}
Get list of prices by Products via
By params:
- ISO - can be set ISO code of country (like US), but not required
- MCC - can be set MCC code of country (like 310), but not required
- MNC - can be set MNC code of country (like 1), but not required (better use with MCC)
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
numbers | string |
{- "ISO": "full"
}
Get list of prices by Country via
By params:
- ISO - can be set ISO code of country (like US), but not required
- MCC - can be set MCC code of country (like 310), but not required
X-Access-Token required | any Example: gbBX8dB7kDvBeo0H-VN2CX0bAXXbyJ Token for RESTAPI |
ISO | string |
{- "ISO": "full"
}