Agent/Request access to a contact
POST /v1/agent/contacts/{id}/request

Request access to a contact

Use when the agent cannot load full contact details because the contact is not visible under normal visibility rules (for example private contacts without an approved access grant). This creates or returns a **pending** `contact_access` row for the current user. If the agent **already** has access to the contact (including public/shared visibility), the API responds with **400** (`already_has_access`). If the contact does not exist, **404**. Response body wraps the row under **`access`**.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X POST https://api.{cluster}.{platform}.voiger.io/v1/agent/contacts/{id}/request \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN"

Parameters

x-workspace-code string required in header
x-csrf-token string required in header
id string required in path

Response

access▾
object
id
string
contact_id
string
status
string
grantee_type
string
grantee_id
string
description
any