Endpoint: GET https://flows.s1.e9lab.com/webhook/{{webhook_id}}
Retrieve the results of a previous recording analysis by providing one of the following parameters: unique_id
, lead_id
, or contact_id
.
username
: Your API username (required)authkey
: Your API authentication key (required)unique_id
: The unique identifier of the call recording (optional)lead_id
: The lead identifier (optional)contact_id
: The contact identifier (optional)[
{
"unique_id": "4526dd7f50",
"lead_id": "29471232",
"contact_id": "45491478",
"phone_number": "34123456789",
"is_answering_machine": 1,
"lang": "es"
},
{
"unique_id": "f9602fc735",
"lead_id": "29471232",
"contact_id": "45491478",
"phone_number": "34123456789",
"is_answering_machine": 1,
"lang": "es"
}
]
{"status": "Check the provided identifier"}
{"status": "Check Your Credentials"}
curl -X GET "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?unique_id=f5863a0b36" \
-H "username: {Your_Username}" \
-H "authkey: {Your_Auth_Key}" \
-H "Accept: application/json"
curl -X GET "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?contact_id=45491478" \
-H "username: {Your_Username}" \
-H "authkey: {Your_Auth_Key}" \
-H "Accept: application/json"
curl -X GET "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?lead_id=43438" \
-H "username: {Your_Username}" \
-H "authkey: {Your_Auth_Key}" \
-H "Accept: application/json"
import requests
url = "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a"
params = {'unique_id': 'f5863a0b36'}
headers = {
'username': '{Your_Username}',
'authkey': '{Your_Auth_Key}',
'Accept': 'application/json'
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
import requests
url = "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a"
params = {'contact_id': '45491478'}
headers = {
'username': '{Your_Username}',
'authkey': '{Your_Auth_Key}',
'Accept': 'application/json'
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
import requests
url = "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a"
params = {'lead_id': '43438'}
headers = {
'username': '{Your_Username}',
'authkey': '{Your_Auth_Key}',
'Accept': 'application/json'
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?unique_id=f5863a0b36");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"username: {Your_Username}",
"authkey: {Your_Auth_Key}",
"Accept: application/json"
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?contact_id=45491478");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"username: {Your_Username}",
"authkey: {Your_Auth_Key}",
"Accept: application/json"
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://flows.s1.e9lab.com/webhook/04597505-9927-412d-a06f-49bbec6c084a?lead_id=43438");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"username: {Your_Username}",
"authkey: {Your_Auth_Key}",
"Accept: application/json"
));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>