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))
{
    "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
https://phlorunner.plivo.com/v1/phlo/{phlo_id}

Arguments

URL Params

ParamTypeDescription/Allowed Values
phlo_id (Required)stringUnique 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.

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))
{
    "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"
}