Skip to main content
Use multi-subdomain endpoints when your backend serves multiple workspaces at different subdomains — each with its own base URL and auth token — but shares the same OpenAPI spec. Example: A customer has workspace1.app.com, workspace2.app.com, and workspace3.app.com. Each subdomain has its own bearer token, but the API shape is identical.

How It Works

If no subdomain is passed, Crow falls back to the default base URL and auth config — fully backward compatible.

Configure via Dashboard

In IntegrationOpenAPI, scroll to Multi-Subdomain Endpoints:
  1. Click Configure (or Show if configs already exist)
  2. Enter a subdomain key (e.g., workspace1)
  3. Enter the base URL (e.g., https://workspace1.app.com/api)
  4. Select the auth type and enter credentials
  5. Click Save
  6. Repeat for each subdomain

Configure via API

For bulk setup, use the API to send all subdomain configs at once. Adds new subdomains and updates existing ones without removing any.
Response:

Replace All

Replaces the entire config set. Any subdomain not included will be removed.

Upsert Single

Add or update a single subdomain:

Delete Single

List All

Tokens are masked in list responses (only last 4 characters shown).

Pass Subdomain to Widget

Tell the widget which subdomain to use so Crow routes API calls to the correct endpoint.
Add data-subdomain to the script tag:
You can set subdomain dynamically based on the logged-in user’s workspace, the current URL, or any other runtime value.

Resolution Logic

Existing products that don’t use subdomains are unaffected — nothing changes unless you explicitly pass a subdomain.

Supported Auth Types

Each subdomain config supports the same auth types as the main connection:

Troubleshooting