---
title: "Add an SSO domain to an organization"
method: POST
path: "/v0/organizations/{organization}/sso"
tags: ["organizations", "sso"]
---

# Add an SSO domain to an organization

`POST /v0/organizations/{organization}/sso`

➕ Bencher Plus: Add a single sign-on (SSO) domain to an organization. The user must be an admin on the server to use this route. When a user authenticates with the server, the domain portion of their email will be compared against all SSO domains. If an SSO domain matches, they will be added as a Member to that Organization. SSO domains must be globally unique on the server. That is, two Organizations cannot have the same SSO domain.

## Path parameters

- `organization` string, required

## Request body

- JsonNewSso
  - `domain` string, required

## Response `202`

successfully enqueued operation

- JsonSso
  - `created` string, date-time, required
  - `domain` string, required
  - `uuid` string, uuid, required

## Other responses

- `4XX` — Error
- `5XX` — Error

---

[API](https://skmtc.net/bencherdev/apis/bencher-api.md) · [All operations](https://skmtc.net/bencherdev/apis/bencher-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bencherdev/bencher-api/versions/84086e99e6cd/schema)
