Ventia
Calls

List calls

GET
/calls

Lists the phone and WhatsApp calls of your account, newest first. Requires the calls:read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <API_KEY>.

Query Parameters

page?integer

Page number (1-indexed). Defaults to 1.

Range1 <= value
Default1
limit?integer

Page size. Defaults to 10, maximum 100.

Range1 <= value <= 100
Default10
user?string

Only records of these user ids, separated by commas (any matches).

group?string

Only records of users in this group or any of its sub-groups.

contact?string

Only calls of this contact id.

result?string

One or more results (calling, done, cancel, voicemail), separated by commas.

type?string

One or more types (OUTGOING, INCOMING, MISSED, REJECTED, BLOCKED, VOICEMAIL), separated by commas.

source?string

Exact call source (importation), case insensitive, e.g. WhatsApp, Central Telefónica Asterisk, Genesys Cloud.

phone?string

Phone number in any format. Matched on its last 7 digits.

minDuration?number

Minimum duration, in seconds.

maxDuration?number

Maximum duration, in seconds.

transcribed?boolean

Only calls with (true) or without (false) a finished transcription.

gteDate?string

Call started on or after this date. Also supports gt, lt, lte and the createdAt field (e.g. gteCreatedAt).

Formatdate-time
lteDate?string

Call started on or before this date.

Formatdate-time
sort?string

Sort field, prefixed with + or -. Defaults to -date (call start).

Value in"+date""-date""+duration""-duration""+createdAt""-createdAt"

Response Body

OK

application/json; charset=utf-8
  1. 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&gteDate=2026-05-01T00%3A00%3A00.000Z&lteDate=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"  }]