---
title: "Get enterprise login URL"
method: GET
path: "/auth/enterprise"
tags: ["Authentication"]
---

# Get enterprise login URL

`GET /auth/enterprise`

Get the enterprise login URL for a given organization

## Query parameters

- `org_slug` string, required

## Response `200`

Enterprise login URL found

- EnterpriseLoginResponse — Response containing enterprise login information
  - `login_url` string, uri, required — URL to redirect user for enterprise login
  - `provider_name` string — The name of the SAML provider to use for enterprise login, if it supports Amplify. If provided, this should be preferred over the login_url.
  - `api_url` string, string — The API URL to use after we authenticate with the SAML provider.
  - `auth_url` string, string — The authentication/identity service URL (e.g. Cognito/authorization domain).
  - `user_pool_client_id` string — The user pool client ID to use for authentication.
  - `ci_user_pool_client_id` string — User pool client ID for CLI authentication.
  - `user_pool_id` string — The user pool ID to use for authentication.
  - `user_pool_region` string — The AWS region where the user pool is located.

## Other responses

- `404` — Organization not found
- `default` — An error occurred

---

[API](https://skmtc.net/diversion/apis/diversion-core-api.md) · [All operations](https://skmtc.net/diversion/apis/diversion-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/diversion/diversion-core-api/revisions/38a18aba804b/schema)
