Contacts
Create a Contact
Save a blockchain address as a contact. The contact needs your API user’s approval before it takes effect.
REST request body
POST
/api/external/contacts/
Request body
string
required
Contact display name.
string
Sub-org that owns the contact.
string
required
Destination address on the selected chain.
string
required
REST field. The SDK accepts this as
chain.string[]
Searchable contact tags.
string
Client-controlled reference.
string[]
Assets permitted for the contact. The SDK serializes an omitted value as an empty array.
string[]
Organization-scoped contact groups to attach.
Response
Approve the contact
A new contact comes back withstatus: "PENDING" and needs your API user’s approval. Call Get Approval Message with entityId set to the contact id, sign the message, and send the signature to Submit Approval Action. See Approvals for the full flow.
With the SDK, approve separately or in one call:
JavaScript SDK
REST request body