- Overview
- Request
- Response
- Message
- Compliance
- Media
- Powerpack
- Number Pool
Number Pool
Retrieve a number
Copy
Ask AI
import plivo
import json
client = plivo.RestClient('<auth_id>','<auth_token>')
powerpack = client.powerpacks.get(uuid="powerpack_uuid")
print str(powerpack.find_number('your-number'))
Copy
Ask AI
{
"account_phone_number_resource": "/v1/Account/{auth_id}/Number/{your_number}/",
"added_on": "2022-10-09T11:24:35.085797Z",
"api_id": "612982e8-0a87-11ea-b072-0242ac110007",
"country_iso2": "CA",
"number": "{your_number}",
"number_pool_uuid": "{number_pool_uuid}",
"type": "fixed"
}
Retrieves the details of the specified number from the specified number pool.
API Endpoint
GET
Copy
Ask AI
https://api.plivo.com/v1/Account/{auth_id}/NumberPool/{number_pool_uuid}/{number}/
Arguments
No arguments need to be passed.
Returns
This API call returns the details for the number identified by the number
specified in the request URL.
Copy
Ask AI
import plivo
import json
client = plivo.RestClient('<auth_id>','<auth_token>')
powerpack = client.powerpacks.get(uuid="powerpack_uuid")
print str(powerpack.find_number('your-number'))
Copy
Ask AI
{
"account_phone_number_resource": "/v1/Account/{auth_id}/Number/{your_number}/",
"added_on": "2022-10-09T11:24:35.085797Z",
"api_id": "612982e8-0a87-11ea-b072-0242ac110007",
"country_iso2": "CA",
"number": "{your_number}",
"number_pool_uuid": "{number_pool_uuid}",
"type": "fixed"
}
Copy
Ask AI
import plivo
import json
client = plivo.RestClient('<auth_id>','<auth_token>')
powerpack = client.powerpacks.get(uuid="powerpack_uuid")
print str(powerpack.find_number('your-number'))
Copy
Ask AI
{
"account_phone_number_resource": "/v1/Account/{auth_id}/Number/{your_number}/",
"added_on": "2022-10-09T11:24:35.085797Z",
"api_id": "612982e8-0a87-11ea-b072-0242ac110007",
"country_iso2": "CA",
"number": "{your_number}",
"number_pool_uuid": "{number_pool_uuid}",
"type": "fixed"
}
Assistant
Responses are generated using AI and may contain mistakes.