---
title: "Returns a token with which the user can be automatically signed in. The token expires after 1 hour"
method: GET
path: "/v1/users/login-token/{uid}"
tags: ["users"]
---

# Returns a token with which the user can be automatically signed in. The token expires after 1 hour

`GET /v1/users/login-token/{uid}`

## Request

- Base URL: `https://api.memberspot.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.memberspot.de/v1/users/login-token/{uid}`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `uid` unknown, required

## Response `201`

Sign in using custom token

- SchoolUserLoginTokenResult
  - `token` string, required: Token to signin the user
  - `loginUrl` string, required: Url via which the user can be signed in automtically

## Other responses

- `400`: Missing arguments (check your api key)
- `401`: Api key provided but invalid

---

[API](https://skmtc.dev/memberspot/apis/memberspot-api.md) · [All operations](https://skmtc.dev/memberspot/apis/memberspot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memberspot/apis/memberspot-api/revisions/48a9411d4339?raw)
