PUT
/v1/admin/contacts/{id}/archive
Archive Contact
Marks the contact as archived by setting `archived_at`. Archived contacts are hidden from the default list (`GET /v1/admin/contacts`) and from all agent-facing contact endpoints. Returns **400** with `already_archived` if the contact is already archived.
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/contacts/{id}/archive \ -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
contact▾idfirst_namelast_namegenderaccesscountryfield_1field_2field_3inbound_calls_blockedoutbound_calls_blockedarchived_atemails▾emailis_primaryphones▾phoneis_primaryimage▾id