Ventia
Visits

Get a visit

GET
/visits/{id}

Returns a single visit. Requires the visits:read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <API_KEY>.

Path Parameters

id*string

Unique identifier of the visit.

Response Body

OK

application/json
  1. response
_id?string
type?"visit"
Value in"visit"
company?string
agent?

User who logged the visit.

contact?
content?
createdCoords?

Where the visit was logged, when location was shared.

createdAt?string
Formatdate-time
updatedAt?string
Formatdate-time
curl -X GET 'https://api.getventia.com/api/v1.0/visits/6650f1c1ff61ffd5f1e44900'
{  "_id": "6650f1c1ff61ffd5f1e44900",  "type": "visit",  "company": "609b3cff61ffd5f1e446d234",  "agent": {    "_id": "6234da84259c59d9a555c498",    "name": "Ana",    "lastname": "Pérez",    "email": "ana@example.com"  },  "contact": {    "_id": "6620aa10c4e2b30017c9d111",    "firstName": "Agustin",    "lastName": "Suarez",    "phones": [      "+59897123678"    ],    "emails": []  },  "content": {    "formId": {      "_id": "6650f1c1ff61ffd5f1e44a00",      "name": "Visita comercial"    },    "state": "interesado",    "stateType": "done",    "comment": "Le interesa el plan Pro, volver a pasar la semana próxima.",    "additionalData": {      "producto": "pro"    },    "shared": [],    "editions": []  },  "createdAt": "2026-05-24T18:21:01.000Z",  "updatedAt": "2026-05-24T18:21:01.000Z"}