Login / Register

API

Remote access via API

Each user has his or her own API number. You can get SMS confirmation remotely with our API service.

API List
Categories List

https://smsactiv.net/user/api/getCategories

Sample Output

[{"id":1, "name": "Google"},{"id":2, "name": "Discord"}]

Services Category

https://smsactiv.net/user/api/getServices/category_id

Sample Output

[{"id":"12","name":"Usa","category":"1"},{"id":"11","name":"Germany","category":"1"}]

Note: You can find the category_id value from the categories list.

Service Price and Stock

https://smsactiv.net/user/api/getServiceDetails/service_id

Sample Output

{"id":"32","price":"2","stock":180}

Note: You can find the service_id value from the services list.

User Balance

https://smsactiv.net/user/api/api_key/getBalance

Sample Output

{balance: 1}

Note: You must enter your own api key in the api_key section.

Creating Number Order

https://smsactiv.net/user/api/api_key/getNumber/service_id

Sample Output

{"success":true,"title":"","message":"","number_id":75,"number":"+77073076157"}

Record the number and number_id values in the output after the loop, they are needed to read the messages.

Note: You can find the service_id value from the services list.
You need to enter your own api key in the api_key section.

See Message

https://smsactiv.net/user/api/api_key/getMessage/number_id

Sample Output

{"code":null,"id":"75","status":0}

To inform:

If Status = 1: Message arrived, code is shown.

If Status = 0: Message is waiting.

If Status = -1: The number has been cancelled.

Note: You should pull the number_id value from the output you obtained during the number order.
You need to enter your own api key in the api_key section.

Canceling Number

https://smsactiv.net/user/api/api_key/cancelNumber/number_id

Sample Output

{"success":true, "title":"", "message":""}

If the number you received is canceled within 10 minutes, the balance you paid will be refunded to you.

Note: You should pull the number_id value from the output you obtained during the number order.
You need to enter your own api key in the api_key section.