In this document, api_key means your api key. You can learn this key from your profile page.VIEWING CATEGORIESRequest Url Address: https://panel.smsapproval.com/api/getCategoriesSample Output: [{“id”:1, “name”: “Google”},{“id”:2, “name”: “Discord”}]VIEWING SERVICES IN CATEGORYRequest 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 STOCKRequest 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 BALANCERequest Url Address: https://panel.smsapproval.com/api/api_key/getBalanceSample Output: {balance: 1}ORDERING NUMBERRequest Url Address: https://panel.smsapproval.com/api/api_key/getNumber/service_idExample 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 NUMBERRequest Url Address: https://panel.smsapproval.com/api/api_key/getMessage/number_idExample 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 NUMBERRequest Url Address: https://panel.smsapproval.com/api/api_key/cancelNumber/number_idExample 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.