Trillet AI logo

Get Call Phonebook

List recent destination numbers from call history.

GEThttps://api.trillet.ai/v2/api/call-history/phonebook

Returns the distinct destination numbers from the workspace's 100 most recent phone calls (web calls are excluded). Only valid E.164 numbers are kept.

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Response

The response is a JSON array (not wrapped in an object). Each item has:

toPhoneNumberstring

The phone number in E.164 format.

[
  { "toPhoneNumber": "+14155551234" },
  { "toPhoneNumber": "+14155555678" },
  { "toPhoneNumber": "+14155559012" }
]

Last updated on