List calls
Lists the phone and WhatsApp calls of your account, newest first. Requires the calls:read scope.
bearerAuthAuthorizationBearer <token>API key sent as Authorization: Bearer <API_KEY>.
page?integerPage number (1-indexed). Defaults to 1.
1 <= value1limit?integerPage size. Defaults to 10, maximum 100.
1 <= value <= 10010user?stringOnly records of these user ids, separated by commas (any matches).
group?stringOnly records of users in this group or any of its sub-groups.
contact?stringOnly calls of this contact id.
result?stringOne or more results (calling, done, cancel, voicemail), separated by commas.
type?stringOne or more types (OUTGOING, INCOMING, MISSED, REJECTED, BLOCKED, VOICEMAIL), separated by commas.
source?stringExact call source (importation), case insensitive, e.g. WhatsApp, Central Telefónica Asterisk, Genesys Cloud.
phone?stringPhone number in any format. Matched on its last 7 digits.
minDuration?numberMinimum duration, in seconds.
maxDuration?numberMaximum duration, in seconds.
transcribed?booleanOnly calls with (true) or without (false) a finished transcription.
gteDate?stringCall started on or after this date. Also supports gt, lt, lte and the createdAt field (e.g. gteCreatedAt).
date-timelteDate?stringCall started on or before this date.
date-timesort?stringSort field, prefixed with + or -. Defaults to -date (call start).
"+date""-date""+duration""-duration""+createdAt""-createdAt"OK
application/json; charset=utf-8- response
[index: integer]?curl -X GET 'https://api.getventia.com/api/v1.0/calls?page=1&limit=10&user=6234da84259c59d9a555c498&group=609b3cff61ffd5f1e446d234&contact=6620aa10c4e2b30017c9d111&result=done&type=OUTGOING&source=WhatsApp&phone=%2B598+97+123+678&minDuration=30&maxDuration=600&transcribed=true>eDate=2026-05-01T00%3A00%3A00.000Z<eDate=2026-05-31T23%3A59%3A59.999Z&sort=-date'[ { "_id": "6650f1c1ff61ffd5f1e44800", "company": "609b3cff61ffd5f1e446d234", "user": { "_id": "6234da84259c59d9a555c498", "name": "Ana", "lastname": "Pérez", "email": "ana@example.com" }, "contact": { "_id": "6620aa10c4e2b30017c9d111", "firstName": "Agustin", "lastName": "Suarez", "phones": [ "+59897123678" ], "emails": [] }, "prospectName": "Agustin Suarez", "phoneNumber": "+59897123678", "type": "OUTGOING", "result": "done", "duration": 94, "durationRange": "lt_180", "importation": "WhatsApp", "timestampDate": "2026-05-24T18:21:01.000Z", "recording": { "status": "available", "mimetype": "audio/webm", "size": 482113 }, "transcription": { "status": "done", "text": "Hola Agustin, te llamo por la propuesta...", "completedAt": "2026-05-24T18:24:10.000Z" }, "createdAt": "2026-05-24T18:21:01.000Z", "updatedAt": "2026-05-24T18:24:10.000Z" }]