Endpoint: https://portal.voip.us/api/authenticate
Method: POST
Description: Authenticates user credentials and generates an API token.
Request Parameters:
Response:
Endpoint: https://portal.voip.us/api/get-all-number?name={customer_name}
Method: GET
Description: Retrieves all available phone numbers associated with the authenticated user.
Authorization Header: Bearer Token (API token)
Query Parameters:
Response:
Endpoint: https://portal.voip.us/api/get-all-active-number?name={customer_name}
Method: GET
Description: Retrieves all active phone numbers associated with the authenticated user.
Authorization Header: Bearer Token (API token)
Query Parameters:
Response:
Endpoint: https://portal.voip.us/api/get-inventory-number?name={customer_name}
Method: GET
Description: Retrieves inventory phone numbers associated with the authenticated user.
Authorization Header: Bearer Token (API token)
Query Parameters:
Response:
Endpoint: https://portal.voip.us/api/get-pending-number?name={customer_name}
Method: GET
Description: Retrieves pending phone numbers associated with the authenticated user.
Authorization Header: Bearer Token (API token)
Query Parameters:
Response:
Endpoint:https://portal.voip.us/api/download-number?name={customer_name}
Method:POST
Description:Downloads phone number data as an Excel file.
Authorization Header:Bearer Token (API token)
Request Parameters:
Response: Downloads an Excel file containing phone number data.
401 Unauthorized: Returned when the user is not authenticated or the API token is invalid.
Other Errors: Additional error responses may include messages describing specific issues encountered during API requests.