---
title: "Grant Access to a Client Session"
method: POST
path: "/client_sessions/grant_access"
tags: ["/client_sessions"]
---

# Grant Access to a Client Session

`POST /client_sessions/grant_access`

Grants a [client session](/core-concepts/authentication/client-session-tokens) access to one or more resources, such as [Connect Webviews](/core-concepts/connect-webviews), [user identities](/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity), and so on.

## Request body

- object
  - `client_session_id` string — ID of the client session to which you want to grant access to resources.
  - `connect_webview_ids` string[] — IDs of the [Connect Webviews](/core-concepts/connect-webviews) that you want to associate with the client session.
  - `connected_account_ids` string[] — IDs of the [connected accounts](/core-concepts/connected-accounts) that you want to associate with the client session.
  - `user_identifier_key` string — Your user ID for the user that you want to associate with the client session.
  - `user_identity_id` string — ID of the [user identity](/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
  - `user_identity_ids` string[] — Deprecated. Use `user_identity_id`. IDs of the [user identities](/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/seam/apis/seam-connect.md) · [All operations](https://skmtc.net/seam/apis/seam-connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seam/seam-connect/versions/00c35395ce12/schema)
