GET
/
api
/
v1
/
agent-calls
List all calls
curl --request GET \
  --url https://prod.featherhq.com/api/v1/agent-calls \
  --header 'X-API-Key: <api-key>'
{
  "agentCalls": [
    {
      "id": "<string>",
      "organizationId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "agentVersionId": "<string>",
      "agentVersionDetails": "<any>",
      "agentId": "<string>",
      "agentDetails": "<any>",
      "mode": "AUDIO",
      "fromPhoneNumber": "<string>",
      "toPhoneNumber": "<string>",
      "customer": {
        "phoneNumber": "<string>",
        "firstName": "<string>",
        "lastName": "<string>"
      },
      "leadId": "<string>",
      "callEndedReason": "NO_ANSWER",
      "callEndedBy": "ASSISTANT",
      "callStartedAt": "2023-11-07T05:31:56Z",
      "callEndedAt": "2023-11-07T05:31:56Z",
      "callDuration": 123,
      "recordingUrl": "<string>",
      "transcript": "<string>",
      "summary": "<string>",
      "variables": "<any>",
      "status": "PENDING",
      "outbound": true,
      "postCallAnalysis": "<string>",
      "structuredPostCallAnalysis": {},
      "leadState": "AL",
      "workflowId": "<string>"
    }
  ],
  "pagination": {
    "limit": 10,
    "nextCursor": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Query Parameters

limit
string
default:10
cursor
string
status
enum<string>
Available options:
PENDING,
IN_PROGRESS,
COMPLETED,
FAILED
mode
enum<string>
Available options:
AUDIO,
WEB
outbound
string
agentId
string

Filter by specific agent ID

workflowId
string

Filter by specific workflow ID

callEndedReason
enum<string>

Filter by call ended reason

Available options:
NO_ANSWER,
LEFT_VOICEMAIL,
BAD_NUMBER,
NOT_INTERESTED,
WARM_TRANSFER,
CALENDLY,
DNC,
ENDED,
FRAUD,
LINE_BUSY,
TEXT_CONSENT,
CALL_AGAIN
startDuration
string

Filter calls with duration >= this value (in seconds)

endDuration
string

Filter calls with duration <= this value (in seconds)

startCallStartedAt
string

Filter calls started >= this date (ISO 8601)

endCallStartedAt
string

Filter calls started <= this date (ISO 8601)

Response

200
application/json

Agent calls retrieved successfully

The response is of type object.