Api Dökümanları

in this document api_key it means your api key. You can find this key on your profile page.

Kategorileri Görüntüleme

İstek Url Adresi: http://smsactive.org/api/getCategories
Örnek Çıktı: [{"id":1, "name": "Google"},{"id":2, "name": "Discord"}]

Viewing Services in a Category

İstek Url Adresi: http://smsactive.org/api/getServices/category_id
Sample Output: [{"id":"12","name":"Afganistan","category":"1"},{"id":"11","name":"Almanya","category":"1"}]

Not: category_id You can find its value in the list of categories.

Learning Service Price and Stock Number

Request Url Address: http://smsactive.org/api/getServiceDetails/service_id
Sample Output: {"id":"32","price":"2","stock":180}

Note: service_id You can find the value in the list of services.

Finding User Balance

Request Url Address: http://smsactive.org/api/api_key/getBalance
Sample Output: {balance: 1}

Ordering a Number

Request Url Address: http://smsactive.org/api/api_key/getNumber/service_id
Sample Output: {"success":true,"title":"","message":"","number_id":75,"number":"+77073076157"}

Here is the output number ve number_id Save the values somewhere, you'll need them when reading the messages.

Not: service_id You can find the value in the list of services.

Seeing the Incoming Message to the Number

Request Url Address: http://smsactive.org/api/api_key/getMessage/number_id
Sample Output: {"code":null,"id":"75","status":0}

Status = 1 if: Message received, code is shown.
Status = 0 if: Message is awaited.
Status = -1 if: The number has been cancelled.

Notes: number_id You can find its value from the printout when you order a number.

Cancel Number

Request Url Address: http://smsactive.org/api/api_key/cancelNumber/number_id
Sample Output: {"success":true, "title":"", "message":""}

If the number is canceled within 10 minutes, the balance will be refunded.

Notes: number_id You can find its value from the printout when you order a number.