Home › Reference & Tools
Get Number Bank Details — FarazSMS SMS web service
GET https://api.iranpayamak.com/ws/v1/number_bank/{number_bank_id}
Purpose: Full detail of one number bank — title, province, city and attached files.
Return one number bank of your account with its province, city and attached files. Use the list endpoint to discover the id.
Authentication
This endpoint requires the Api-Key header — get the key from the FarazSMS panel. The header name is case-sensitive and the key must never travel in a query string.
Notes for this endpoint
- Get the id from the list endpoint (GET /ws/v1/number_bank); never guess it.
- Only number banks owned by your account are reachable.
- To send to a number bank use POST /ws/v1/sms/bank.
Responses
200— OK404— No number bank with this id belongs to your account.
Related endpoints in Reference & Tools
GET /cities— Get Cities List of ProvincesGET /provinces— Get Provinces ListGET /ws/v1/number_bank— Get List of Avalibale BanksPOST /ws/v1/sms/calculate-cost— Calculate Send SMS CostGET /ws/v1/sms/postal/get-available-lines— Get Available LinesGET /ws/v1/sms/postal/get-genders— Get Genders ListGET /ws/v1/sms/postal/get-receiver-count— Get Receiver Counts