---
title: "Start SSO domain verification"
method: POST
path: "/organizations/{organization}/sso/domains"
tags: ["Organization SSO domains"]
---

# Start SSO domain verification

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

Enable SSO if needed and return a URL for verifying an email domain
### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `manage_sso`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `manage_sso` |

## Path parameters

- `organization` string, required

## Response `200`

Domain verification URL

- object
  - `portal_url` string, required — URL to open for verifying an email domain

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-28** `6d28c038c4fd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/sso/domains/post.md)

---

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