Get a link token for an active wallet

Issue a short-lived signed token that links an active wallet (a provider whose
wallet_type is active in GET /api/wallet/supported) to the account. The
wallet submits its onboarding request with the token, and Temple verifies it,
links the wallet and accepts the request. With the Temple SDK
(@temple-digital-group/temple-canton-js 2.1.14 or later) pass it as linkToken
to onboardUser. See "Linking a Wallet" above. Passive wallets link with
POST /api/trading/delegation instead.

The token is bound to the account, partyId, provider and purpose, and is
valid until expires_at (5 minutes by default). Each purpose has its own
one-time nonce: of several tokens issued for the same purpose, only the first one
used is accepted, so request a new token for every attempt. A trading token and
an RFQ token can be outstanding at the same time.

Issuing is allowed when the purpose's slot is empty or already holds this wallet
(to verify a wallet linked before link tokens existed). It is refused when the
slot holds a different wallet, the wallet fills the account's other slot, or the
wallet is linked to another account.

Note that the request body uses partyId (camel case). Requires completed
identity verification. Uses X-API-Key in public API mode and JWT authentication
in full API mode, with a full session, MFA, and the funding scope for API keys.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The active wallet's party ID (camel case). Trimmed; must be the party that submits the onboarding request.

string
required

A wallet_id from GET /api/wallet/supported whose wallet_type is active

string
enum
required

Which wallet slot the wallet is linked into

Allowed:
Responses

429

Rate limit exceeded

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json