List Calls
curl --request GET \
--url https://api.agentline.cloud/v1/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Calls
List Calls
List voice calls made by your AI agents.
Returns call history with optional filters by agent or status. Each entry includes direction (inbound/outbound), duration, phone numbers, and current status.
Filters:
- agent_id: only calls for a specific AI agent
- status: “initiated”, “in-progress”, “completed”, or “failed”
GET
/
v1
/
calls
List Calls
curl --request GET \
--url https://api.agentline.cloud/v1/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
AgentLine API key. Get one via the email OTP flow (POST /v1/auth/otp then POST /v1/auth/verify). Pass as: Authorization: Bearer sk_live_...
Query Parameters
Filter calls by AI agent ID
Filter by call status: 'initiated', 'in-progress', 'completed', or 'failed'
Maximum number of calls to return (1-200)
Required range:
1 <= x <= 200Number of calls to skip for pagination
Required range:
x >= 0Response
Successful Response