OnlineSim HUB api v1 - 2023-06-03
_HUB_
API. You can use it, but the connection and configuration are individual, so you should contact our tech support to get the details of you connection to the API
General description
What is required to work with API:
- Make 2 methods and webhook. GET_SERVICES method gives a room for specified number, and after SMS is received checks if the service was paid, and sends SMS on webhook.
- Contact us via e-mail or Telegram.
To use this API, you need to send POST or GET request via HTTP protocol on the specified URL.
Additional information
Requirements:
- form of JSON request / responsefor`*
- coding UTF-8
- make sure that user-agent is included in request headers.
- all requests / responses use gzip compression method.
Fileds types:
- number int - integer value in range from -2 147 483 648 to 2 147 483 647
- number Uint - positive integer value in range from 0 to 2147483647
- long number - integer value in range from -9 223 372 036 854 775 808 to 9 223 372 036 854 775 807
- Ulong number - positive integer value in range from 0 to 9 223 372 036 854 775,807
- number cur - decimal number, containing 2 digits after dot, for example 134.66
- boolean - literal, receiving the value true or false
- string - string of any length
Common responses
Responses values common for all methods.
json {status: STATUS, …, … }
Attachments
#1 Countries list
see here
#2 Services list
see here
#3 Operators list
see here
#4 Workflow
