Account Endpoints

Confirm an agent relationship proposed to the authenticated account

Changed on

Name the other party by counterparty_account_id, from agent_account_id or owner_account_id on a listed relationship, or by counterparty_address. Prefer the account: the relationship is the pair of accounts, so it stays addressable after either party unlinks the wallet it was proposed with, whereas an address stops resolving once unlinked.

post/api/v2/accounts/agent-relationships/confirm

Request

Request body

caller_role'AGENT' | 'OWNER' required

Which side of the relationship the caller is on

counterparty_account_idstring

The other party's account id. Preferred over an address.

counterparty_addressstring

A wallet the other party has linked publicly, resolved to their account. Stops resolving once unlinked.

Response

OK

createdboolean required

Changes