# 1. Tra cứu thông tin tài khoản (Get account info) #### Request ``` https://teleotp.top/api/user?apikey=xxx ``` #### Response ```json { "username": "example", "email": "example@gmail.com", "balance": 1000000 } ``` # 3. Tạo yêu cầu (Create request) #### Request ``` https://teleotp.top/api/create-request?apikey=xxx&service=facebook ``` #### Response: ```json { "id": "bc472de2-ed1b-46cc-8d69-6876dff3d6c3", "price": 800, "service": "facebook", "phone": "9153087632", "formated_phone": "(915) 308-7632", "code": "", "full_text": "", "status": "active", "created_at": 1683174306, "done_at": 1683174337 } ``` # 5. Kiểm tra yêu cầu (Check request) #### Request ``` https://teleotp.top/api/get-request?apikey=xxx&id=bc472de2-ed1b-46cc-8d69-6876dff3d6c3 ``` #### Response ```json { "id": "bc472de2-ed1b-46cc-8d69-6876dff3d6c3", "price": 800, "service": "facebook", "phone": "9153087632", "formated_phone": "(915) 308-7632", "code": "660021", "full_text": "660021 là mã xác nhận Facebook của bạn", "status": "ok", "created_at": 1683174306, "done_at": 1683174337 } ``` # 6. Huỷ yêu cầu (Cancel request) #### Request ``` https://teleotp.top/api/cancel-request?apikey=xxx&id=bc472de2-ed1b-46cc-8d69-6876dff3d6c3 ``` #### Response ```json {} ```