Skip to main content
GET
Get latest call by phone number

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

phone
string
required

Phone number to search

max_age_minutes
integer
default:60

Only consider calls created within this many minutes. Returns 404 when no call for the number falls in that window.

Required range: 1 <= x <= 525600

Response

The most recent matching call

data
object

A call record. The exact columns returned on list endpoints are governed by the team's configured column allowlist; the fields below are the standard set.