---
title: "Create SSE token"
method: POST
path: "/auth/sse-tokens"
tags: ["Authentication"]
---

# Create SSE token

`POST /auth/sse-tokens`

## Request

- Base URL: `https://sylve.lan:8181/api`
- URL: `https://sylve.lan:8181/api/auth/sse-tokens`
- Auth: API key in header `Authorization`

Create a short-lived token scoped to the authenticated user's event stream

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseInternalHandlersEventsCreateSSETokenResponse
  - `data` InternalHandlersEventsCreateSSETokenResponse
    - `expiresIn` integer
    - `token` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-08-12** `9a5026bf9057`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/auth/sse-tokens/post.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) - [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alchemillahq/apis/sylve-api/revisions/9565cdd0abf5?raw)
