---
title: "POST /v1/organizations/{orgId}/sessions"
method: POST
path: "/v1/organizations/{orgId}/sessions"
tags: ["sessions"]
---

# POST /v1/organizations/{orgId}/sessions

`POST /v1/organizations/{orgId}/sessions`

Create a new wallet session key

## Path parameters

- `orgId` string, required

## Request body

- union
  - object
  - CreateSessionParams
    - `expiresAt` string, required
    - `installs` SessionInstall[], required — Keep `max` in sync with MaxInstallsPerSession (validator tags must be literals).
      - `chainId` integer, required
      - `serialized` string, required
    - `policies` object, required
    - `sessionAddress` string, required
    - `walletId` string, required
    - `workflowId` string

## Response `200`

OK

- CreateSessionSuccessResponse
  - `createdAt` string
  - `sessionAddress` string
  - `sessionGroupId` string
  - `sessions` CreateSessionInstallResponse[]
    - `chainId` integer
    - `expiresAt` string
    - `id` string
  - `walletId` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/b3os/apis/b3os-workflow-api.md) · [All operations](https://skmtc.dev/b3os/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b3os/b3os-workflow-api/revisions/a8c7af3c66a1/schema)
