GET
/v1/agent/contacts/{id}
Get Contact
Returns the contact when the agent is allowed to see it under workspace visibility rules (including approved contact access). For **private** contacts the agent cannot access, responds with **403 Forbidden** instead of a redacted payload.
curl https://api.{cluster}.{platform}.voiger.io/v1/agent/contacts/{id} \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code"
Parameters
x-workspace-code
string
required
in header
id
string
required
in path
Response
contact▾idfirst_namelast_namegenderaccesscountryfield_1field_2field_3inbound_calls_blockedoutbound_calls_blockedemails▾emailis_primaryphones▾phoneis_primaryimage▾id