Authentication

Link a wallet to the current (Google) session — collapses both into one wallet identity.

post/v4/auth/link/wallet

Request

  • Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.merkl.xyz/v4/auth/link/wallet
  • Auth: apiKey (a scheme the document does not define)

Cookies

jwtstring

Request body

addressstring required
messagestring required
signaturestring required
chainIdnumber

Chain ID of the wallet

Response

Response for status 200

successboolean required

Whether login was successful

tokenstring

JWT token for Authorization header — only returned in development for cross-site cookie fallback

Changes

No recorded changes to this operation across all 36 revisions of this API.