Skip to main content
GET
/
api
/
coach
List coach call evaluations
curl --request GET \
  --url https://enterprise-api.avoca.ai/api/coach \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "call_id": 123,
      "team_id": 123,
      "rubric_id": 123,
      "call_date": "2023-11-07T05:31:56Z",
      "call_time_local": "<string>",
      "duration_seconds": 123,
      "score": 123,
      "awarded_points": 123,
      "max_available_points": 123,
      "five9_call_id": "<string>",
      "agent_name": "<string>",
      "agent_id": "<string>",
      "customer_name": "<string>",
      "customer_phone": "<string>",
      "call_type": "<string>",
      "call_reason": "<string>",
      "direction": "<string>",
      "evaluation_answers": {}
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

API key in the format avoca_<64 hex characters>

Headers

x-team-id
integer

Target team ID. Required for multi-team (enterprise_all_teams / portfolio_all_teams) keys on v0 endpoints; single-team keys are locked to their team and omit it.

Query Parameters

limit
integer
default:100

Results per page (default 100, max 1000)

Required range: x <= 1000
offset
integer
default:0

Pagination offset (default 0)

start_date
string<date-time>

Start of date range (ISO 8601; default 7 days ago)

end_date
string<date-time>

End of date range (ISO 8601; default now)

timezone
string
default:America/New_York

IANA timezone for date calculations (default America/New_York)

Response

Paginated list of coach calls

data
object[]
pagination
object