---
title: "Issue Domain Admin SSO token"
method: POST
path: "/api/v1/add/sso/domain-admin"
tags: ["Single Sign-On"]
---

# Issue Domain Admin SSO token

`POST /api/v1/add/sso/domain-admin`

Using this endpoint you can issue a token for Domain Admin user. This token can be used for autologin Domain Admin user by using query_string var sso_token={token}. Token expiration time is 30s

## Request body

- object
  - `username` object — the username for the admin user

## Response `200`

OK

## Other responses

- `401` — Unauthorized

## Changes

- **2023-01-06** `4addd5b79ca3` — 1 info
  - endpoint added
- **2020-06-07** `47523aca063a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/add/sso/domain-admin/post.md)

---

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