---
title: "Create Organization User Session Token"
method: POST
path: "/api/v1/auth/skyfire-session-token"
---

# Create Organization User Session Token

`POST /api/v1/auth/skyfire-session-token`

## Request

- Base URL: `https://api.skyfire.xyz`
- URL: `https://api.skyfire.xyz/api/v1/auth/skyfire-session-token`
- Auth: API key in header `skyfire-api-key`

As an Organization Admin, create a short-lived session token for a user in your organization.

## Request body

- object
  - `userId` string, uuid, required: Unique identifier of the organization user the session is created for. Must be a user in your own organization. e.g. `"906fc259-ef0a-4736-bdcd-c1d5a78db483"`

## Response `200`

Ok

- string: The session token as a bare JSON string, not an object. Expires 5 minutes after creation.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity

## Changes

- **2026-11-03** `22cbec9d7630`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/changes/api/v1/auth/skyfire-session-token/post.md)

---

[API](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis.md) - [All operations](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/skyfire/apis/skyfire-agent-and-token-apis/revisions/22cbec9d7630?raw)
