---
title: "Create an SSO connection authentication test"
method: POST
path: "/v1/sso/connections/{connectionId}/test"
tags: ["SSO"]
---

# Create an SSO connection authentication test

`POST /v1/sso/connections/{connectionId}/test`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/sso/connections/{connectionId}/test`
- Auth: HTTP bearer

Creates a short-lived test of one SSO connection by id, bound to its current saved configuration and the initiating administrator.

## Path parameters

- `connectionId` string, required

## Response `201`

SSO test created

- OrganizationSsoTestIntentResponse
  - `intentId` string, required
  - `expiresAt` string, date-time, required
  - `testUrl` string, uri, required

## Other responses

- `402`: SSO management requires a Team or Enterprise plan.
- `404`: The connection does not exist in this organization.
- `409`: SSO configuration cannot be tested

## Changes

- **2026-11-06** `133d32d0939a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/sso/connections/:connectionId/test/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
