support
Sms apis for developers

This section of the panel is dedicated to developers. If you need to do something specific, home automation, opt-ins, and so on, you can use our APIs. Integration is very simple; in the API row, in the table below, scrolling to the right, you will find the CODE button, which allows access to the integration source code in various programming languages. For more details, see the API guide.

As mentioned, our app can be installed on multiple devices to allow large-scale and timely sending in a short time. There is no limit to the number of phones that can be associated for sending sms. Each phone is linked to a list via a pin. When sending a message via the APIs, the request will be delivered to all phones, but only one of them will send the message—the first available. The HTTP JSON response may therefore contain multiple records, indicating that the message was delivered to that specific phone. To get the message status, sent and delivery, use IPN (Instant Process Notification). IPN, when a message is sent or delivered to the destination phone, calls a script on your servers if activated. Through this call, you can confirm message sending and delivery.

In the video below we can note:
Allow only from IP if selected, only the indicated IP address will be authorized for API HTTP requests. It is also important to indicate the correct domain if needed for cross-domain requests.

JSON API response GenioApi
"response": "200" the message is correct and has been delivered to all phones; only one will send it, the fastest one. This status indicates not that the sms was sent, but that it was delivered to the phone that will handle sending it. To get the sent message status, use Instant Process Notification, which notifies message status: sent and delivered to the phone (delivery).
"status code": "2" means that any IP can send over_ip

status_code
1 ok_ip sends because the IP is authorized
2 ok_over_ip sends from any IP because over_ip > 0 and apikey=ok
3 api_key_error does not send because the API token is incorrect
4 unauthorized_ip does not send because the IP is not authorized
5 param_error does not send because parameters are incorrect (deprecated)
6 token_or_id_device_error device token or ID is incorrect
7 missing_to_number no phone number provided
8 missing_msg no message to send provided
9 balance_error insufficient credit to send

In the video below we will see how to create an API and use it, where to find the sample code, and we will test a send via curl.

install_mobile
savings
quickreply
bar_chart
Products Guide Info Dashboard
Bulk sms sending Install application Recharge Login
Repeated sms Wallet digital signature 3fg Sms api dev Register
Sms autoresponder Bulk sms sending Prices Language
Sms api Scheduled/repeated sms sending Privacy
Sms surveys Sms autoresponder General terms
Sms subscription Sms api Verify digital sign
Wallet Sms surveys Gateway sms app
Subscription lists and structure
Wallet upload and send file
keyboard_double_arrow_up