---
title: "Create session"
method: POST
path: "/sessions"
tags: ["sessions"]
---

# Create session

`POST /sessions`

Create a session for a user based on a client token obtained after successfully completing a challenge. This will return an access token and refresh token which can be used to manage a session.

## Request body

- object
  - `token` string, required — The client token obtained after completing a challenge.
  - `clientId` string, required — The ID of the app client for which the access token and refresh token should be issued.

## Response `200`

OK

- SessionResponse
  - `accessToken` string, required — An access token which can be used to authenticate requests.
  - `refreshToken` string, required — A refresh token which can be exchanged for a new access token and refresh token.

## Other responses

- `400` — Invalid Request
- `401` — Unauthorized

---

[API](https://skmtc.net/authsignal/apis/call-connect-api.md) · [All operations](https://skmtc.net/authsignal/apis/call-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/authsignal/call-connect-api/versions/5604d744e3ad/schema)
