contacts

Link

Promotes an existing CUSTOM contact to LINKED by pointing it at a real account id (target_account_id) — the "I scanned/typed this address and it turns out to be a platform user" path. Clears the custom_* placeholder fields (email/phone/first/last name) since a linked row's identity now comes from the real account. 400 bad_request if the contact is already linked; the target must pass the same discoverability checks as Create.

post/contacts/{id}/link

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/contacts/{id}/link
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

id

Request body

target_account_idstring

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.