---
title: "Add session details to account"
method: POST
path: "/account/{address}/session"
tags: ["Accounts"]
---

# Add session details to account

`POST /account/{address}/session`

## Request

- Base URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor`
- URL: `https://v1.orchestrator.rhinestone.dev/deposit-processor/account/{address}/session`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/docs/account/:address/session/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `address` string, required: Ethereum address (0x followed by 40 hex characters)

## Headers

- `x-api-key` string: API key for authentication
- `x-api-version` string: API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

## Request body

- SessionRequestBody
  - `sessionDetails` EnableSessionDetails, required
    - `hashesAndChainIds` object[], required
      - `chainId` integer, required: Positive integer
      - `sessionDigest` string, required: Hex-encoded string (0x followed by hex characters)
    - `signature` string, required: Hex-encoded string (0x followed by hex characters)

## Response `200`

Session added successfully

- SessionResponse
  - `message` string, required

## Other responses

- `400`: Invalid request or account not registered
- `401`: Authentication required or the presented credential is invalid.
- `403`: Unauthorized - API key does not belong to the client that registered the account
- `429`: Retryable refusal; nothing was stored. Retry after the Retry-After delay. `REGISTRATION_BUSY`: too many registrations are in flight; the request waited briefly for a slot and none freed. `REGISTRATION_IN_PROGRESS`: another request is registering the same account or salt.
- `503`: For a scoped account, the submitted digests could not be verified against the stored scope right now. Nothing was stored; retry.

## Changes

- **2026-11-06** `aa1767d704fa`: 5 info
  - the endpoint scheme security `internalProjectBearer` was added to the API
  - the endpoint scheme security `tenantApiKey` was added to the API
  - the `header` request parameter `x-api-key` became optional
  - added the non-success response with the status `401`
  - …1 more
- **2026-09-17** `676300ac19ff`: 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `503` status
- **2026-09-11** `b49146029e5a`: 1 info
  - added the non-success response with the status `503`
- **2026-07-07** `7514db27036a`: 1 info
  - the `sessionDetails/hashesAndChainIds/items/chainId` request property's exclusiveMinimum was decreased from `true` to `0.00`

[Operation history](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/changes/account/:address/session/post.md)

---

[API](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api.md) - [All operations](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rhinestonewtf/apis/deposit-service-api/revisions/aa1767d704fa?raw)
