GET
/
v1
/
call
/
list
curl --request GET \
  --url https://api.penciled.com/v1/call/list \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "call_id": "<string>",
      "agent_id": "<string>",
      "outcome": "confirmed",
      "status": "calling",
      "outcome_justification": "<string>",
      "appointment_date": "2023-11-07T05:31:56Z",
      "summary": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "call_length": "<string>",
      "recordingWav": "<string>",
      "transcript": "<string>"
    }
  ],
  "lastEvaluatedKey": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agent_ids
string[]

The ID of the agent that made the call

last_evaluated_key
object

The last evaluated key for pagination

page_size
integer
default:
20

The number of calls per page (optional, default is 20, max is 50)

Required range: x < 50

Response

200
application/json
Call response
calls
object[]
lastEvaluatedKey
object