Accounts

Add session details to account

Changed on

Add session details (chain IDs, session digests, and signature) to an existing account

post/account/{address}/session

Request

Path parameters

addressstring required

Ethereum address (0x followed by 40 hex characters)

Example:0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91

Headers

x-api-keystring

API key for authentication

Example:your-api-key
x-api-versionstring

API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

Example:2026-04.amazon

Request body

Example request

{
  "sessionDetails": {
    "hashesAndChainIds": [
      {
        "chainId": 1,
        "sessionDigest": "0x1234abcd"
      }
    ],
    "signature": "0x1234abcd"
  }
}

Response

Session added successfully

messagestring required

Changes

    • info

      the endpoint scheme security internalProjectBearer was added to the API

    • info

      the endpoint scheme security tenantApiKey was added to the API

    • info

      the header request parameter x-api-key became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status