Getting Started
- GUIDES
Quickstart guides
- Guides
Components Library
- Components Library
API Reference
- Overview
- Request
- Response
- PHLO
- Overview
- The PHLO object
- Retrieve a PHLO
- Run a PHLO
- Multiparty call
- PHLO Run
Use Case Guides
- Call Forwarding
PHLO
Retrieve a PHLO
Copy
Ask AI
import plivo
auth_id = '<auth_id>'
auth_token = '<auth_token>'
phlo_id = '<phlo_id>'
phlo_client = plivo.phlo.RestClient(auth_id=auth_id, auth_token=auth_token)
response = phlo_client.phlo.get(phlo_id)
print (str(response))
Copy
Ask AI
{
"api_id": "e4202a42-0419-43db-9889-c440d3167796",
"phlo_id": "4c1a9f23-7f56-4879-bb80-db856e1e7701",
"name": "SMS Notifications",
"created_on": "2021-01-30 09:20:08.617883+00:00"
}
API Endpoint
GET
Copy
Ask AI
https://phlorunner.plivo.com/v1/phlo/{phlo_id}
Arguments
URL Params
Param | Type | Description/Allowed Values |
---|---|---|
phlo_id (Required) | string | Unique identifier for the PHLO. PHLO IDs are listed on the PHLO page of the console. |
Payload
No arguments need to be passed.
Returns
Returns a PHLO
object.
Copy
Ask AI
import plivo
auth_id = '<auth_id>'
auth_token = '<auth_token>'
phlo_id = '<phlo_id>'
phlo_client = plivo.phlo.RestClient(auth_id=auth_id, auth_token=auth_token)
response = phlo_client.phlo.get(phlo_id)
print (str(response))
Copy
Ask AI
{
"api_id": "e4202a42-0419-43db-9889-c440d3167796",
"phlo_id": "4c1a9f23-7f56-4879-bb80-db856e1e7701",
"name": "SMS Notifications",
"created_on": "2021-01-30 09:20:08.617883+00:00"
}
Copy
Ask AI
import plivo
auth_id = '<auth_id>'
auth_token = '<auth_token>'
phlo_id = '<phlo_id>'
phlo_client = plivo.phlo.RestClient(auth_id=auth_id, auth_token=auth_token)
response = phlo_client.phlo.get(phlo_id)
print (str(response))
Copy
Ask AI
{
"api_id": "e4202a42-0419-43db-9889-c440d3167796",
"phlo_id": "4c1a9f23-7f56-4879-bb80-db856e1e7701",
"name": "SMS Notifications",
"created_on": "2021-01-30 09:20:08.617883+00:00"
}
Assistant
Responses are generated using AI and may contain mistakes.