In this document, api_key means your api key. You can learn this key from your profile page.

VIEWING CATEGORIES

Request Url Address: https://panel.smsapproval.com/api/getCategories

Sample Output: [{“id”:1, “name”: “Google”},{“id”:2, “name”: “Discord”}]

VIEWING SERVICES IN CATEGORY

Request Url Address: https://panel.smsapproval.com/api/getServices/category_id
Example Output: [{“id”: “12”, “name”: “Afghanistan”, “category”: “1”}, {“id”: “11”, “name”: “Germany”, “category” :”one”}]

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

VIEW THE SERVICE PRICE AND NUMBER OF STOCK

Request Url Address: https://panel.smsapproval.com/api/getServiceDetails/service_id
Example Output: {“id”: “32”, “price”: “2”, “stock”: 180}

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

LEARNING USER BALANCE

Request Url Address: https://panel.smsapproval.com/api/api_key/getBalance

Sample Output: {balance: 1}

ORDERING NUMBER

Request Url Address: https://panel.smsapproval.com/api/api_key/getNumber/service_id

Example Output: {“success”: true, “title”: “”, “message”: “”, “number_id”: 75, “number”: “+ 77073076157”}

Keep the number and number_id values ​​in the printout somewhere here, you will need them when reading the messages.

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

SEE MESSAGE FROM NUMBER

Request Url Address: https://panel.smsapproval.com/api/api_key/getMessage/number_id

Example Output: {“code”: null, “id”: “75”, “status”: 0}

If Status = 1: Message arrived code is shown.

If status = 0: Waiting for message.

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

Note: You can find the number_id value from the output when you order the number.

CANCEL THE NUMBER

Request Url Address: https://panel.smsapproval.com/api/api_key/cancelNumber/number_id

Example Output: {“success”: true, “title”: “”, “message”: “”}

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

Note: You can find the number_id value from the output when you order the number.