POST
/v1/admin/contacts/{contact_id}/accesses
Create contact access request
Creates a pending or pre-approved (admin) access row for a grantee (user or team) on a contact. `description` is optional (max 255 characters).
curl -X POST https://api.{cluster}.{platform}.voiger.io/v1/admin/contacts/{contact_id}/accesses \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "access": { "grantee_type": "team", "grantee_id": "00000000-0000-0000-0000-000000000001", "status": "pending", "description": "Need visibility for campaign follow-up" } }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
contact_id
string
required
in path
Response
access▾idworkspace_idgrantee_typegrantee_idstatusresolver_idresolved_atdescriptioncreated_atupdated_atrequested_at