---
title: "Provision user and create session"
method: POST
path: "/v1/jwt_session"
tags: ["Sessions"]
---

# Provision user and create session

`POST /v1/jwt_session`

Creates a Redfast user session after verifying a partner-signed JWT. If the user does not exist, they will be provisioned automatically.

## Request body

- object
  - `jwt_token` string, required — JWT used to verify and create the session

## Response `200`

Session created successfully

- object
  - `success` boolean
  - `external_tenant_id` string
  - `session_token` string
  - `session_token_expires_at` string, date-time

## Other responses

- `422` — Unprocessable Entity - Error during session creation

---

[API](https://skmtc.dev/recurly/apis/custom-rendering-api.md) · [All operations](https://skmtc.dev/recurly/apis/custom-rendering-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recurly/custom-rendering-api/revisions/5b447fc86155/schema)
