Latest Legacy

Retrieve a PHLO Run

API Endpoint

GET https://phlorunner.plivo.com/v1/phlo/{phlo_id}/runs/{run_id}

Arguments

URL Params

Param Description/Allowed Values
phlo_idRequiredstring

Unique identifier for the PHLO. PHLO ID is available here.

run_idRequiredstring

Unique identifier for the PHLO Run. PHLO Run ID is available here.

Payload

No arguments need to be passed.

Returns

Returns a PHLO Run object.

Response

HTTP Status Code: 200

{
    "api_id": "36989807-a76f-4555-84d1-9dfdccca7a80",
    "phlo_id": "e564a84a-7910-4447-b16f-65c541dd552c",
    "run_id": "b7df01fd-1cb0-404e-a0d1-21e69a610e84",
    "call_uuids": ["11e4f82c-069c-49f9-9fcb-54c6633e2cdb"],
    "message_uuids": [],
    "recording_ids": []
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import com.plivo.api.Plivo;

import com.plivo.api.exceptions.PlivoRestException;
import com.plivo.api.models.phlo.Phlo;
import com.plivo.api.models.phlo.PhloRunGetterResponse;

public class Example
{
    private static final String authId = "Your AUTH ID";
    private static final String authToken = "Your AUTH Token";
    
    public static void main (String args[]) {
        Plivo.init(authId, authToken);

        try {
            PhloRunGetterResponse resp = Phlo.phloRunGetter("Your PHLO ID", "Your Run ID").get();
            System.out.println(resp);

        } catch (IOException | PlivoRestException e) {
            e.printStackTrace();
        }
    }
}