import plivoclient = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")# Retrieve a Specific Tollfree Numberpowerpack = client.powerpacks.get(uuid='<powerpack_uuid>')# Version 1response = powerpack.find_tollfree('<tollfree_number>')# Version 2response = powerpack.numberpool.tollfree.find('<tollfree_number>')print(response)
Retrieve a toll-free number
Fetch details of a toll-free number from a number pool
Retrieves the details of the specified toll-free number from the specified number pool.
This API call returns the details for the toll-free number identified by the toll_free_number and number_pool_uuid specified in the request URL.
Copy
Ask AI
import plivoclient = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")# Retrieve a Specific Tollfree Numberpowerpack = client.powerpacks.get(uuid='<powerpack_uuid>')# Version 1response = powerpack.find_tollfree('<tollfree_number>')# Version 2response = powerpack.numberpool.tollfree.find('<tollfree_number>')print(response)