Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vh3.ai/llms.txt

Use this file to discover all available pages before exploring further.

Persons

Site contacts and consent. Auth: X-API-Key header. Base: https://api.vh3connect.io/api:YdihQNr3.

Shared parameters

ParamTypeDescription
pageNumberintegerPage index (1-based)
pageSizeintegerItems per page (default 100, max 1000)
sortBystringSort field (endpoint-specific)
directionenumascending or descending

Persons

People on accounts.

GET /persons/person

Get person.
curl -G "https://api.vh3connect.io/api:YdihQNr3/persons/person" \
  -H "X-API-Key: your-api-key" \
  --data-urlencode "personId=550e8400-e29b-41d4-a716-446655440000"

POST /persons/create

Create person.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/persons/create" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "contactId": 12345,
  "firstName": "Jane",
  "surname": "Smith",
  "email": "jane@example.com"
}'

POST /persons/edit

Update person.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/persons/edit" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "personId": "550e8400-e29b-41d4-a716-446655440000"
}'

POST /persons/list

List persons.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/persons/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "contactId": 12345,
  "pageNumber": 1,
  "pageSize": 25
}'

POST /persons/consent/set

Set consent. Enum values:
  • status: awaiting, refused, granted
  • medium: email, click, telephone
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/persons/consent/set" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "personId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "granted",
  "medium": "email"
}'

POST /persons/consent/history

Consent history.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/persons/consent/history" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "personId": "550e8400-e29b-41d4-a716-446655440000",
  "pageNumber": 1,
  "pageSize": 20
}'