Ventia
Visits

Get a visit form

GET
/visit-forms/{id}

Returns a single visit form, with its fields resolved. 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 form.

Response Body

OK

application/json
  1. response
_id?string
name?string
description?string
active?boolean
order?number
assignedTo?array<string>

Users the form is limited to. Empty means everyone.

groups?array<string>

Groups the form is limited to. Empty means every group.

fields?array<>

Fields in display order, each resolved to its definition. A field with only index and reference points to a field that no longer exists.

createdAt?string
Formatdate-time
updatedAt?string
Formatdate-time
curl -X GET 'https://api.getventia.com/api/v1.0/visit-forms/6650f1c1ff61ffd5f1e44900'
{  "_id": "6650f1c1ff61ffd5f1e44a00",  "name": "Visita comercial",  "description": "Formulario para visitas a clientes",  "active": true,  "order": 0,  "assignedTo": [],  "groups": [],  "fields": [    {      "index": 0,      "reference": "system:resultado",      "system": true,      "name": "Resultado",      "type": "visitResult"    },    {      "index": 1,      "reference": "system:comment",      "system": true,      "name": "Comentario",      "type": "string"    },    {      "index": 2,      "reference": "producto",      "code": "producto",      "name": "Producto",      "type": "select",      "required": true,      "active": true,      "options": [        {          "name": "Plan Pro",          "code": "pro"        },        {          "name": "Plan Básico",          "code": "basico"        }      ]    }  ],  "createdAt": "2026-04-01T12:00:00.000Z",  "updatedAt": "2026-04-01T12:00:00.000Z"}