---
title: "POST /v1/orgs/{orgId}/sso"
method: POST
path: "/v1/orgs/{orgId}/sso"
tags: ["Orgs"]
---

# POST /v1/orgs/{orgId}/sso

`POST /v1/orgs/{orgId}/sso`

Generates a WorkOS Admin Portal link for SSO configuration. Restricted to org admins.

## Path parameters

- `orgId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `returnUrl` string

## Response `201`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'sso-portal-link', required
    - `attributes` object, required
      - `link` string, uri, required

## Other responses

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

## Changes

- **2026-09-15** `d50a02b79ad3` — 2 info
  - added the optional property `error/code` to the response with the `403` status
  - added the optional property `error/url` to the response with the `403` status

[Change history](https://skmtc.dev/tessl/apis/tessl-api/changes/v1/orgs/:orgId/sso/post.md)

---

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