Pomerado SSO API
The sso API from Pomerado — 3 operation(s) for sso.
The sso API from Pomerado — 3 operation(s) for sso.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pomerado-ai:pomerado-ai-sso-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Pomerado SSO API
version: '1'
description: Run and build website tools, follow their jobs, and manage logins, API keys and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth token or a Dashboard session as a Bearer token.
servers:
- url: https://api.pomerado.ai
tags:
- name: SSO
x-group: Single sign-on
paths:
/v1/team/sso:
get:
operationId: sso.get
tags:
- SSO
summary: Get the team's single sign-on setup
description: 'Returns your Business team''s single sign-on setup as WorkOS has it now: its SSO connections (SAML or OIDC, such as Okta), its Directory Sync (SCIM) directories and its domains, each with its state. Owners and Admins only.'
responses:
'200':
description: The team's SSO setup
content:
application/json:
schema:
$ref: '#/components/schemas/TeamSso'
'400':
description: invalid_request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: team_unavailable, role_permission_missing, forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: read
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: team:manage
x-pomerado-key-permission: team:manage
/v1/team/sso/setup-links:
post:
operationId: sso.create_setup_link
tags:
- SSO
summary: Open the team's Admin Portal
description: 'Opens WorkOS''s Admin Portal, where your team''s IT admin sets up how your team signs in. Owners only: whoever sets up the directory decides everyone''s role.
- intent: domain_verification proves your team owns its email domain, sso connects your identity provider (SAML or OIDC, such as Okta), and dsync syncs your directory''s people (SCIM). Set them up in that order: SSO needs a verified domain.
- Only the Dashboard returns the portal''s link, since anyone holding it can change your team''s sign-in. Elsewhere this returns a dashboard_url to the Single sign-on page, where an Owner opens it. To have your IT admin do it, send them a setup email with POST /v1/team/sso/it-admin-invitations.
- On the Dashboard each call makes a new link, which stops working five minutes after it was made, at expires_at; Pomerado keeps none.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- intent
properties:
intent:
type: string
enum:
- domain_verification
- sso
- dsync
additionalProperties: false
responses:
'200':
description: 'Elsewhere: the page that opens it'
content:
application/json:
schema:
$ref: '#/components/schemas/DashboardDelivery'
'201':
description: 'On the Dashboard: the Admin Portal link'
content:
application/json:
schema:
$ref: '#/components/schemas/TeamSsoSetupLink'
'400':
description: invalid_request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: team_unavailable, role_permission_missing, owner_required, forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: request_too_large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: write
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: team:manage
x-pomerado-key-permission: team:manage
/v1/team/sso/it-admin-invitations:
post:
operationId: sso.invite_it_admin
tags:
- SSO
summary: Email your IT admin a setup link
description: 'Has WorkOS, Pomerado''s sign-in provider, email your team''s IT admin one link to verify your domain and set up single sign-on and Directory Sync in its Admin Portal. Owners only: whoever sets up the directory decides everyone''s role.
- The link works for 30 days and goes only to that address; Pomerado never sees it. Follow their progress with GET /v1/team/sso.
- A team has one setup email at a time. While an earlier one''s link still works this sends nothing and answers setup_email_active; send replace: true to replace it, and the earlier link stops working. Replacing also removes every earlier address from your team''s WorkOS IT contacts, so only the new one gets WorkOS''s notices.
- A team sends up to 5 setup emails at once, then one every 12 minutes; past that it answers setup_email_throttled.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
properties:
email:
type: string
description: Your IT admin's email address, where WorkOS sends the setup link
maxLength: 320
replace:
type: boolean
description: 'Send a new email even though an earlier one''s link still works, which then stops working. Default: false'
additionalProperties: false
responses:
'201':
description: WorkOS is sending the setup email
content:
application/json:
schema:
$ref: '#/components/schemas/TeamSsoItAdminInvitation'
'400':
description: invalid_request, invalid_email
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: unauthorized, reauthentication_required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: team_unavailable, role_permission_missing, owner_required, forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: setup_email_active
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: request_too_large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: setup_email_throttled
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: temporarily_unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- bearer: []
x-pomerado-effect: write
x-pomerado-callers:
- session
- oauth
- api_key
x-pomerado-permission: team:manage
x-pomerado-key-permission: team:manage
components:
schemas:
DashboardDelivery:
type: object
required:
- dashboard_url
properties:
dashboard_url:
type: string
description: A signed-in Dashboard page where the person finishes this and sees the secret once
additionalProperties: false
TeamSsoSetupLink:
type: object
required:
- link
- intent
- expires_at
properties:
link:
type: string
description: 'WorkOS''s Admin Portal for your team. Open it at once: it stops working at expires_at, and anyone holding it until then can change your team''s sign-in'
intent:
type: string
enum:
- domain_verification
- sso
- dsync
expires_at:
$ref: '#/components/schemas/DateFromString'
additionalProperties: false
TeamSsoItAdminInvitation:
type: object
required:
- email
- replaced
properties:
email:
type: string
description: Where WorkOS sent the setup email
replaced:
type: boolean
description: Whether it replaced an earlier setup email, whose link stopped working
additionalProperties: false
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- retryable
- docs_url
properties:
code:
type: string
message:
type: string
retryable:
type: boolean
docs_url:
type: string
details:
type: object
required: []
properties: {}
additionalProperties:
$id: /schemas/unknown
additionalProperties: false
additionalProperties: false
DateFromString:
type: string
description: a string to be decoded into a Date
TeamSso:
type: object
required:
- connections
- directories
- domains
properties:
connections:
type: array
items:
type: object
required:
- id
- type
- state
properties:
id:
type: string
description: The WorkOS connection ID
type:
type: string
description: WorkOS's connection type, such as OktaSAML, EntraIdOIDC or GenericSAML
state:
type: string
description: 'WorkOS''s state: draft, active, inactive or validating'
additionalProperties: false
description: SSO connections (SAML or OIDC); only an active one signs in
directories:
type: array
items:
type: object
required:
- id
- type
- state
properties:
id:
type: string
description: The WorkOS directory ID
type:
type: string
description: WorkOS's directory type, such as okta scim v2.0 or azure scim v2.0
state:
type: string
description: 'WorkOS''s state: active, inactive, validating, invalid_credentials or deleting'
additionalProperties: false
description: Directory Sync (SCIM) directories
domains:
type: array
items:
type: object
required:
- domain
- state
properties:
domain:
type: string
state:
type: string
description: 'WorkOS''s state: verified, pending or failed'
additionalProperties: false
description: The team's email domains; SSO needs a verified one
additionalProperties: false
securitySchemes:
bearer:
type: http
scheme: bearer