Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs(webhooks): render the webhook payload reference (PLEN-2793) (#3910)
Anshu Garg57557fc54bf1
diff --git a/.github/workflows/docs-update-data.yml b/.github/workflows/docs-update-data.ymlindex 914c11f64..7a9bde99d 100644--- a/.github/workflows/docs-update-data.yml+++ b/.github/workflows/docs-update-data.yml@@ -91,14 +91,14 @@ jobs:id: changesrun: |cd ..- git add -N docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null || true- if git diff --quiet docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null; then+ git add -N docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/public/openapi-webhooks.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null || true+ if git diff --quiet docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/public/openapi-webhooks.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null; thenecho "has_changes=false" >> "$GITHUB_OUTPUT"echo "No changes detected"elseecho "has_changes=true" >> "$GITHUB_OUTPUT"echo "Changes detected:"- git diff --stat docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null || true+ git diff --stat docs/public/data/ docs/public/openapi.json docs/public/openapi-v3.json docs/public/openapi-webhooks.json docs/content/reference/api-reference/ docs/content/reference/v3/api-reference/ docs/content/toolkits/meta-tools/ 2>/dev/null || truefi- name: Create Pull Request@@ -115,7 +115,7 @@ jobs:## What changed- **Toolkit catalog** (`docs/public/data/toolkits.json`, `toolkits-list.json`) — refreshed list of available toolkits, auth schemes, and tools from the backend API- - **OpenAPI specs** (`docs/public/openapi.json`, `docs/public/openapi-v3.json`) — latest v3.1 and v3.0 API specifications fetched from production+ - **OpenAPI specs** (`docs/public/openapi.json`, `docs/public/openapi-v3.json`, `docs/public/openapi-webhooks.json`) — latest v3.1 and v3.0 API specifications plus the webhook-events spec, fetched from production- **API reference pages** (`docs/content/reference/api-reference/`, `docs/content/reference/v3/api-reference/`) — regenerated index pages for both API versions- **Meta tools reference** (`docs/public/data/meta-tools.json`, `docs/content/toolkits/meta-tools/*.mdx`) — updated meta tool schemas and reference docsbranch: docs/auto-update-data@@ -124,6 +124,7 @@ jobs:docs/public/data/docs/public/openapi.jsondocs/public/openapi-v3.json+ docs/public/openapi-webhooks.jsondocs/content/reference/api-reference/docs/content/reference/v3/api-reference/docs/content/toolkits/meta-tools/diff --git a/docs/api-overviews/webhook-events.mdx b/docs/api-overviews/webhook-events.mdxnew file mode 100644index 000000000..e286cfb79--- /dev/null+++ b/docs/api-overviews/webhook-events.mdx@@ -0,0 +1,3 @@+Webhook events delivered by the Composio platform to your registered endpoints.++Configure your webhook subscriptions via the [Webhook Subscriptions API](/reference/api-reference/webhook-subscriptions/postWebhookSubscriptions), and verify signatures as described in [Verifying signatures](/docs/setting-up-triggers/subscribing-to-events#verifying-signatures).diff --git a/docs/app/llms.mdx/[[...slug]]/route.ts b/docs/app/llms.mdx/[[...slug]]/route.tsindex 8a7ca338b..562e69d49 100644--- a/docs/app/llms.mdx/[[...slug]]/route.ts+++ b/docs/app/llms.mdx/[[...slug]]/route.ts@@ -356,7 +356,7 @@ function generateCurl(}// Convert OpenAPI page to comprehensive markdown-async function openapiPageToMarkdown(+export async function openapiPageToMarkdown(page: { url: string; data: OpenAPIPageData }): Promise<string> {const { title, description } = page.data;@@ -366,6 +366,7 @@ async function openapiPageToMarkdown(const processed = await openapi.getSchema(props.document);const spec = processed.dereferenced;const paths = spec.paths as Record<string, Record<string, OpenAPIOperation>> | undefined;+ const webhooks = spec.webhooks as Record<string, Record<string, OpenAPIOperation>> | undefined;const securitySchemes = (spec.components as Record<string, unknown>)?.securitySchemes as Record<string, OpenAPISecurityScheme> | undefined;const servers = spec.servers as Array<{ url: string; description?: string }> | undefined;const baseUrl = servers?.[0]?.url || 'https://backend.composio.dev';@@ -377,124 +378,170 @@ async function openapiPageToMarkdown(lines.push(description, '');}- // Process operations- if (props.operations && paths) {- for (const op of props.operations) {- const pathData = paths[op.path];- if (!pathData) continue;+ const selectedOperations: Array<{+ method: string;+ name: string;+ operation: OpenAPIOperation;+ isWebhook: boolean;+ }> = [];++ for (const op of props.operations ?? []) {+ const operation = paths?.[op.path]?.[op.method.toLowerCase()];+ if (operation) {+ selectedOperations.push({+ method: op.method,+ name: op.path,+ operation,+ isWebhook: false,+ });+ }+ }- const operation = pathData[op.method];- if (!operation) continue;+ for (const webhook of props.webhooks ?? []) {+ const operation = webhooks?.[webhook.name]?.[webhook.method.toLowerCase()];+ if (operation) {+ selectedOperations.push({+ method: webhook.method,+ name: webhook.name,+ operation,+ isWebhook: true,+ });+ }+ }- lines.push('---', '');- lines.push(`## ${op.method.toUpperCase()} \`${op.path}\``, '');- lines.push(`**Endpoint:** \`${baseUrl}${op.path}\``, '');+ // Process API operations and webhook deliveries through the same schema+ // renderer. Fumadocs exposes them as separate page-prop collections.+ for (const selected of selectedOperations) {+ const { method, name, operation, isWebhook } = selected;+ lines.push('---', '');+ lines.push(`## ${method.toUpperCase()} \`${name}\``, '');+ if (isWebhook) {+ lines.push(`**Event type:** \`${name}\``, '');+ } else {+ lines.push(`**Endpoint:** \`${baseUrl}${name}\``, '');+ }- if (operation.summary) {- lines.push(`**Summary:** ${operation.summary}`, '');- }+ if (operation.summary) {+ lines.push(`**Summary:** ${operation.summary}`, '');+ }- if (operation.description) {- lines.push(operation.description, '');- }+ if (operation.description) {+ lines.push(operation.description, '');+ }- // Authentication- const security = operation.security;- if (security && security.length > 0 && securitySchemes) {- lines.push('### Authentication', '');- const authMethods: string[] = [];- for (const secReq of security) {- for (const schemeName of Object.keys(secReq)) {- const scheme = securitySchemes[schemeName];- if (scheme) {- if (scheme.type === 'apiKey') {- authMethods.push(`**${schemeName}** - API Key in \`${scheme.in}\` header \`${scheme.name}\``);- } else if (scheme.type === 'http' && scheme.scheme === 'bearer') {- authMethods.push(`**${schemeName}** - Bearer token in Authorization header`);- } else {- authMethods.push(`**${schemeName}** - ${scheme.type}`);- }+ // Authentication+ const security = operation.security;+ if (security && security.length > 0 && securitySchemes) {+ lines.push('### Authentication', '');+ const authMethods: string[] = [];+ for (const secReq of security) {+ for (const schemeName of Object.keys(secReq)) {+ const scheme = securitySchemes[schemeName];+ if (scheme) {+ if (scheme.type === 'apiKey') {+ authMethods.push(+ `**${schemeName}** - API Key in \`${scheme.in}\` header \`${scheme.name}\``+ );+ } else if (scheme.type === 'http' && scheme.scheme === 'bearer') {+ authMethods.push(`**${schemeName}** - Bearer token in Authorization header`);+ } else {+ authMethods.push(`**${schemeName}** - ${scheme.type}`);}}}- lines.push(authMethods.join(' OR '), '');}+ lines.push(authMethods.join(' OR '), '');+ }- // Path Parameters- const pathParams = operation.parameters?.filter(p => p.in === 'path') || [];- if (pathParams.length > 0) {- lines.push('### Path Parameters', '');- for (const param of pathParams) {- const typeStr = getTypeString(param.schema || { type: 'string' });- lines.push(`- \`${param.name}\` (${typeStr}) *(required)*: ${param.description || ''}`);- }- lines.push('');+ // Path Parameters+ const pathParams = operation.parameters?.filter(p => p.in === 'path') || [];+ if (pathParams.length > 0) {+ lines.push('### Path Parameters', '');+ for (const param of pathParams) {+ const typeStr = getTypeString(param.schema || { type: 'string' });+ lines.push(`- \`${param.name}\` (${typeStr}) *(required)*: ${param.description || ''}`);+ }+ lines.push('');+ }++ // Query Parameters+ const queryParams = operation.parameters?.filter(p => p.in === 'query') || [];+ if (queryParams.length > 0) {+ lines.push('### Query Parameters', '');+ for (const param of queryParams) {+ const typeStr = getTypeString(param.schema || { type: 'string' });+ const reqMark = param.required ? ' *(required)*' : '';+ lines.push(`- \`${param.name}\` (${typeStr})${reqMark}: ${param.description || ''}`);}+ lines.push('');+ }- // Query Parameters- const queryParams = operation.parameters?.filter(p => p.in === 'query') || [];- if (queryParams.length > 0) {- lines.push('### Query Parameters', '');- for (const param of queryParams) {- const typeStr = getTypeString(param.schema || { type: 'string' });- const reqMark = param.required ? ' *(required)*' : '';- lines.push(`- \`${param.name}\` (${typeStr})${reqMark}: ${param.description || ''}`);- }- lines.push('');+ // Webhook delivery headers+ const headerParams = operation.parameters?.filter(p => p.in === 'header') || [];+ if (isWebhook && headerParams.length > 0) {+ lines.push('### Delivery Headers', '');+ for (const param of headerParams) {+ const typeStr = getTypeString(param.schema || { type: 'string' });+ const reqMark = param.required ? ' *(required)*' : '';+ lines.push(`- \`${param.name}\` (${typeStr})${reqMark}: ${param.description || ''}`);}+ lines.push('');+ }- // Request Body- if (operation.requestBody?.content?.['application/json']) {- lines.push('### Request Body', '');- if (operation.requestBody.description) {- lines.push(operation.requestBody.description, '');- }- const schema = operation.requestBody.content['application/json'].schema;- if (schema) {- lines.push('**Schema:**', '');- lines.push(...renderSchema(schema));- lines.push('');+ // Request Body+ if (operation.requestBody?.content?.['application/json']) {+ lines.push('### Request Body', '');+ if (operation.requestBody.description) {+ lines.push(operation.requestBody.description, '');+ }+ const schema = operation.requestBody.content['application/json'].schema;+ if (schema) {+ lines.push('**Schema:**', '');+ lines.push(...renderSchema(schema));+ lines.push('');- // Example- const example = operation.requestBody.content['application/json'].example ?? generateSampleValue(schema);- lines.push('**Example:**', '');- lines.push('```json');- lines.push(JSON.stringify(example, null, 2));- lines.push('```', '');- }+ // Example+ const example =+ operation.requestBody.content['application/json'].example ?? generateSampleValue(schema);+ lines.push('**Example:**', '');+ lines.push('```json');+ lines.push(JSON.stringify(example, null, 2));+ lines.push('```', '');}+ }++ // Responses+ if (operation.responses) {+ lines.push('### Responses', '');- // Responses- if (operation.responses) {- lines.push('### Responses', '');-- for (const [status, response] of Object.entries(operation.responses)) {- lines.push(`#### ${status} - ${response.description || ''}`, '');-- const jsonContent = response.content?.['application/json'];- if (jsonContent?.schema) {- lines.push('**Response Schema:**', '');- lines.push(...renderSchema(jsonContent.schema));- lines.push('');-- // Only show example for success responses- if (status.startsWith('2')) {- const example = jsonContent.example ?? generateSampleValue(jsonContent.schema);- if (example && Object.keys(example as object).length > 0) {- lines.push('**Example Response:**', '');- lines.push('```json');- lines.push(JSON.stringify(example, null, 2));- lines.push('```', '');- }+ for (const [status, response] of Object.entries(operation.responses)) {+ lines.push(`#### ${status} - ${response.description || ''}`, '');++ const jsonContent = response.content?.['application/json'];+ if (jsonContent?.schema) {+ lines.push('**Response Schema:**', '');+ lines.push(...renderSchema(jsonContent.schema));+ lines.push('');++ // Only show example for success responses+ if (status.startsWith('2')) {+ const example = jsonContent.example ?? generateSampleValue(jsonContent.schema);+ if (example && Object.keys(example as object).length > 0) {+ lines.push('**Example Response:**', '');+ lines.push('```json');+ lines.push(JSON.stringify(example, null, 2));+ lines.push('```', '');}}}}+ }- // cURL Example+ // Webhook operations describe inbound deliveries rather than API calls.+ if (!isWebhook) {lines.push('### Example cURL Request', '');lines.push('```bash');- lines.push(generateCurl(op.method, op.path, baseUrl, operation.parameters, operation.requestBody));+ lines.push(generateCurl(method, name, baseUrl, operation.parameters, operation.requestBody));lines.push('```', '');}}diff --git a/docs/content/reference/api-reference/webhook-events/index.mdx b/docs/content/reference/api-reference/webhook-events/index.mdxnew file mode 100644index 000000000..1aa60fcd9--- /dev/null+++ b/docs/content/reference/api-reference/webhook-events/index.mdx@@ -0,0 +1,27 @@+---+title: Webhook Events+description: "Events delivered by Composio to your registered webhook endpoints"+---++{/* Auto-generated from openapi-webhooks.json. Edit the overview at api-overviews/webhook-events.mdx, not this file. */}++Webhook events delivered by the Composio platform to your registered endpoints.++Configure your webhook subscriptions via the [Webhook Subscriptions API](/reference/api-reference/webhook-subscriptions/postWebhookSubscriptions), and verify signatures as described in [Verifying signatures](/docs/setting-up-triggers/subscribing-to-events#verifying-signatures).++## Events++| Event | Description |+|-------|-------------|+| `composio.trigger.message` | [Trigger message](/reference/api-reference/webhook-events/composio_trigger_message) |+| `composio.connected_account.expired` | [Connection expired](/reference/api-reference/webhook-events/composio_connected_account_expired) |+| `composio.trigger.disabled` | [Trigger disabled](/reference/api-reference/webhook-events/composio_trigger_disabled) |++## Legacy payloads (deprecated)++Older subscriptions may still receive these payload formats. The event type is unchanged — only the payload shape differs, selected by the subscription's version. You can upgrade an existing subscription at any time by updating its `version` — see [Update a webhook subscription](/reference/api-reference/webhook-subscriptions/patchWebhookSubscriptionsById). New integrations should use the current events above.++| Event | Version | Description |+|-------|---------|-------------|+| `composio.trigger.message` | V2 | [Trigger message (V2)](/reference/api-reference/webhook-events/composio_trigger_message_v2) |+| `composio.trigger.message` | V1 | [Trigger message (V1)](/reference/api-reference/webhook-events/composio_trigger_message_v1) |diff --git a/docs/lib/openapi.ts b/docs/lib/openapi.tsindex d9d723342..80b2ff9fe 100644--- a/docs/lib/openapi.ts+++ b/docs/lib/openapi.ts@@ -1,9 +1,15 @@import { join } from 'path';import { createOpenAPI } from 'fumadocs-openapi/server';-// v3.1 (latest) — clean operationIds, default API reference+// v3.1 (latest) — clean operationIds, default API reference.+// The webhook-events spec (openapi-webhooks.json) is a separate OpenAPI 3.1+// document whose top-level `webhooks` block documents the payloads Composio+// delivers to customer webhook URLs; it renders under the "Webhook Events" tag.export const openapi = createOpenAPI({- input: [join(process.cwd(), 'public/openapi.json')],+ input: [+ join(process.cwd(), 'public/openapi.json'),+ join(process.cwd(), 'public/openapi-webhooks.json'),+ ],proxyUrl: '/api/proxy',});diff --git a/docs/next.config.mjs b/docs/next.config.mjsindex 1f6b6a699..c4e0d056a 100644--- a/docs/next.config.mjs+++ b/docs/next.config.mjs@@ -5,6 +5,11 @@ import { withEve } from 'eve/next';const __dirname = dirname(fileURLToPath(import.meta.url));const withMDX = createMDX();+const OPENAPI_SPEC_FILES = [+ './public/openapi.json',+ './public/openapi-v3.json',+ './public/openapi-webhooks.json',+];/** @type {import('next').NextConfig} */const config = {@@ -28,11 +33,11 @@ const config = {// (it works at build time only because `public/` exists at the project root).// Explicitly trace the specs into every route that may resolve them at runtime.outputFileTracingIncludes: {- '/reference/**': ['./public/openapi.json', './public/openapi-v3.json'],- '/reference/v3/**': ['./public/openapi.json', './public/openapi-v3.json'],- '/llms.mdx/**': ['./public/openapi.json', './public/openapi-v3.json'],- '/llms-full.txt/**': ['./public/openapi.json', './public/openapi-v3.json'],- '/llms.txt/**': ['./public/openapi.json', './public/openapi-v3.json'],+ '/reference/**': [...OPENAPI_SPEC_FILES],+ '/reference/v3/**': [...OPENAPI_SPEC_FILES],+ '/llms.mdx/**': [...OPENAPI_SPEC_FILES],+ '/llms-full.txt/**': [...OPENAPI_SPEC_FILES],+ '/llms.txt/**': [...OPENAPI_SPEC_FILES],},images: {// Enable modern image formats for better compressiondiff --git a/docs/public/openapi-webhooks.json b/docs/public/openapi-webhooks.jsonnew file mode 100644index 000000000..ea7142a76--- /dev/null+++ b/docs/public/openapi-webhooks.json@@ -0,0 +1,8139 @@+{+ "openapi": "3.1.0",+ "info": {+ "title": "Composio Webhook Events",+ "version": "1.0.0",+ "description": "Payloads Composio delivers to your registered webhook endpoints. Composio POSTs these to the URL on your webhook subscription. For signature verification and delivery headers, see the Verifying webhooks guide."+ },+ "tags": [+ {+ "name": "Webhook Events",+ "description": "Events delivered by Composio to your registered webhook endpoints"+ }+ ],+ "components": {+ "schemas": {},+ "parameters": {}+ },+ "paths": {},+ "webhooks": {+ "composio.trigger.message": {+ "post": {+ "operationId": "composio_trigger_message",+ "tags": [+ "Webhook Events"+ ],+ "summary": "Trigger message",+ "description": "Fired when a trigger receives data from an external service.",+ "parameters": [+ {+ "schema": {+ "type": "string",+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key."+ },+ "required": true,+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key.",+ "name": "webhook-id",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Unix timestamp (seconds) of this delivery attempt."+ },+ "required": true,+ "description": "Unix timestamp (seconds) of this delivery attempt.",+ "name": "webhook-timestamp",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`."+ },+ "required": true,+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`.",+ "name": "webhook-signature",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Payload version for this subscription (for example `V3`)."+ },+ "required": true,+ "description": "Payload version for this subscription (for example `V3`).",+ "name": "x-composio-webhook-version",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value."+ },+ "required": true,+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value.",+ "name": "x-composio-delivery-attempt",+ "in": "header"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "pattern": "^msg_[0-9a-f-]{36}$",+ "description": "Unique event id (msg_<uuid>). Also sent as the `webhook-id` header and stable across delivery retries — use it for idempotency."+ },+ "timestamp": {+ "type": "string",+ "format": "date-time",+ "description": "ISO 8601 timestamp of when the event was created."+ },+ "type": {+ "type": "string",+ "enum": [+ "composio.trigger.message"+ ]+ },+ "metadata": {+ "type": "object",+ "properties": {+ "log_id": {+ "type": "string",+ "description": "ID of the execution log."+ },+ "trigger_slug": {+ "type": "string",+ "description": "The trigger that fired (for example GITHUB_COMMIT_EVENT)."+ },+ "trigger_id": {+ "type": "string",+ "description": "ID of the trigger instance."+ },+ "connected_account_id": {+ "type": "string",+ "description": "ID of the connected account the trigger belongs to."+ },+ "auth_config_id": {+ "type": "string",+ "description": "ID of the auth config."+ },+ "user_id": {+ "type": [+ "string",+ "null"+ ],+ "description": "ID of the user for this connection, or null if not set."+ }+ },+ "required": [+ "log_id",+ "trigger_slug",+ "trigger_id",+ "connected_account_id",+ "auth_config_id",+ "user_id"+ ]+ },+ "data": {+ "type": "object",+ "additionalProperties": {},+ "description": "The trigger event payload. Its shape depends on the trigger — see that trigger's documentation."+ }+ },+ "required": [+ "id",+ "timestamp",+ "type",+ "metadata",+ "data"+ ]+ },+ "example": {+ "id": "msg_2f1c9e4a-3b6d-4a1e-9c2f-7d8e5a6b4c31",+ "type": "composio.trigger.message",+ "timestamp": "2026-01-15T10:30:00Z",+ "metadata": {+ "log_id": "log_abc123",+ "trigger_slug": "GITHUB_COMMIT_EVENT",+ "trigger_id": "ti_xyz789",+ "connected_account_id": "ca_def456",+ "auth_config_id": "ac_xyz789",+ "user_id": "user-123"+ },+ "data": {+ "commit_sha": "a1b2c3d",+ "message": "fix: resolve null pointer",+ "author": "jane"+ }+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Return any 2xx status to acknowledge receipt. Non-2xx responses are retried."+ }+ }+ }+ },+ "composio.trigger.message.v2": {+ "post": {+ "operationId": "composio_trigger_message_v2",+ "tags": [+ "Webhook Events"+ ],+ "summary": "Trigger message (V2)",+ "description": "The V2 trigger payload format. New integrations should use V3.",+ "deprecated": true,+ "parameters": [+ {+ "schema": {+ "type": "string",+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key."+ },+ "required": true,+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key.",+ "name": "webhook-id",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Unix timestamp (seconds) of this delivery attempt."+ },+ "required": true,+ "description": "Unix timestamp (seconds) of this delivery attempt.",+ "name": "webhook-timestamp",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`."+ },+ "required": true,+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`.",+ "name": "webhook-signature",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Payload version for this subscription (for example `V3`)."+ },+ "required": true,+ "description": "Payload version for this subscription (for example `V3`).",+ "name": "x-composio-webhook-version",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value."+ },+ "required": true,+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value.",+ "name": "x-composio-delivery-attempt",+ "in": "header"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "type": {+ "type": "string",+ "description": "The trigger that fired (for example github_commit_event)."+ },+ "timestamp": {+ "type": "string",+ "format": "date-time",+ "description": "ISO 8601 timestamp of when the event was created."+ },+ "log_id": {+ "type": "string",+ "description": "ID of the execution log."+ },+ "data": {+ "allOf": [+ {+ "type": "object",+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "connection_id": {+ "type": "string",+ "format": "uuid",+ "description": "UUID of the connected account."+ },+ "connection_nano_id": {+ "type": "string",+ "description": "ID of the connected account."+ },+ "trigger_nano_id": {+ "type": "string",+ "description": "ID of the trigger instance."+ },+ "trigger_id": {+ "type": "string",+ "format": "uuid",+ "description": "UUID of the trigger instance."+ },+ "user_id": {+ "type": [+ "string",+ "null"+ ],+ "description": "ID of the user for this connection, or null if not set."+ }+ },+ "required": [+ "connection_id",+ "connection_nano_id",+ "trigger_nano_id",+ "trigger_id",+ "user_id"+ ]+ }+ ],+ "description": "The trigger event payload, plus connection identifiers."+ }+ },+ "required": [+ "type",+ "timestamp",+ "log_id",+ "data"+ ]+ },+ "example": {+ "type": "github_commit_event",+ "timestamp": "2026-01-15T10:30:00Z",+ "log_id": "log_abc123",+ "data": {+ "commit_sha": "a1b2c3d",+ "message": "fix: resolve null pointer",+ "author": "jane",+ "connection_id": "d3547de1-d1f2-4344-b4c2-6d1e5a7b8c9d",+ "connection_nano_id": "ca_def456",+ "trigger_nano_id": "ti_xyz789",+ "trigger_id": "5727dbbb-3b26-4abe-aec6-181a7b2c3d4e",+ "user_id": "user-123"+ }+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Return any 2xx status to acknowledge receipt. Non-2xx responses are retried."+ }+ }+ }+ },+ "composio.trigger.message.v1": {+ "post": {+ "operationId": "composio_trigger_message_v1",+ "tags": [+ "Webhook Events"+ ],+ "summary": "Trigger message (V1)",+ "description": "The V1 trigger payload format. New integrations should use V3.",+ "deprecated": true,+ "parameters": [+ {+ "schema": {+ "type": "string",+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key."+ },+ "required": true,+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key.",+ "name": "webhook-id",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Unix timestamp (seconds) of this delivery attempt."+ },+ "required": true,+ "description": "Unix timestamp (seconds) of this delivery attempt.",+ "name": "webhook-timestamp",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`."+ },+ "required": true,+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`.",+ "name": "webhook-signature",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Payload version for this subscription (for example `V3`)."+ },+ "required": true,+ "description": "Payload version for this subscription (for example `V3`).",+ "name": "x-composio-webhook-version",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value."+ },+ "required": true,+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value.",+ "name": "x-composio-delivery-attempt",+ "in": "header"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "trigger_name": {+ "type": "string",+ "description": "The trigger that fired (for example github_commit_event)."+ },+ "connection_id": {+ "type": "string",+ "format": "uuid",+ "description": "UUID of the connected account."+ },+ "trigger_id": {+ "type": "string",+ "format": "uuid",+ "description": "UUID of the trigger instance."+ },+ "payload": {+ "type": "object",+ "additionalProperties": {},+ "description": "The trigger event payload."+ },+ "log_id": {+ "type": "string",+ "description": "ID of the execution log."+ }+ },+ "required": [+ "trigger_name",+ "connection_id",+ "trigger_id",+ "payload",+ "log_id"+ ]+ },+ "example": {+ "trigger_name": "github_commit_event",+ "connection_id": "d3547de1-d1f2-4344-b4c2-6d1e5a7b8c9d",+ "trigger_id": "5727dbbb-3b26-4abe-aec6-181a7b2c3d4e",+ "payload": {+ "commit_sha": "a1b2c3d",+ "message": "fix: resolve null pointer",+ "author": "jane"+ },+ "log_id": "log_abc123"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Return any 2xx status to acknowledge receipt. Non-2xx responses are retried."+ }+ }+ }+ },+ "composio.connected_account.expired": {+ "post": {+ "operationId": "composio_connected_account_expired",+ "tags": [+ "Webhook Events"+ ],+ "summary": "Connection expired",+ "description": "Fired when a connected account expires and needs re-authentication.",+ "parameters": [+ {+ "schema": {+ "type": "string",+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key."+ },+ "required": true,+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key.",+ "name": "webhook-id",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Unix timestamp (seconds) of this delivery attempt."+ },+ "required": true,+ "description": "Unix timestamp (seconds) of this delivery attempt.",+ "name": "webhook-timestamp",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`."+ },+ "required": true,+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`.",+ "name": "webhook-signature",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Payload version for this subscription (for example `V3`)."+ },+ "required": true,+ "description": "Payload version for this subscription (for example `V3`).",+ "name": "x-composio-webhook-version",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value."+ },+ "required": true,+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value.",+ "name": "x-composio-delivery-attempt",+ "in": "header"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "pattern": "^msg_[0-9a-f-]{36}$",+ "description": "Unique event id (msg_<uuid>). Also sent as the `webhook-id` header and stable across delivery retries — use it for idempotency."+ },+ "timestamp": {+ "type": "string",+ "format": "date-time",+ "description": "ISO 8601 timestamp of when the event was created."+ },+ "type": {+ "type": "string",+ "enum": [+ "composio.connected_account.expired"+ ]+ },+ "data": {+ "type": "object",+ "properties": {+ "toolkit": {+ "type": "object",+ "properties": {+ "slug": {+ "type": "string",+ "description": "The slug of the toolkit"+ }+ },+ "required": [+ "slug"+ ]+ },+ "auth_config": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "format": "authConfigId",+ "description": "The id of the auth config"+ },+ "auth_scheme": {+ "type": "string",+ "enum": [+ "OAUTH2",+ "OAUTH1",+ "API_KEY",+ "BASIC",+ "BILLCOM_AUTH",+ "BEARER_TOKEN",+ "GOOGLE_SERVICE_ACCOUNT",+ "NO_AUTH",+ "BASIC_WITH_JWT",+ "CALCOM_AUTH",+ "SERVICE_ACCOUNT",+ "SAML",+ "DCR_OAUTH",+ "S2S_OAUTH2"+ ],+ "description": "the authScheme is part of the connection state use it there",+ "deprecated": true+ },+ "is_composio_managed": {+ "type": "boolean",+ "description": "Whether the auth config is managed by Composio"+ },+ "is_disabled": {+ "type": "boolean",+ "description": "Whether the auth config is disabled"+ }+ },+ "required": [+ "id",+ "auth_scheme",+ "is_composio_managed",+ "is_disabled"+ ]+ },+ "id": {+ "type": "string",+ "format": "connectedAccountId",+ "description": "The id of the connection"+ },+ "word_id": {+ "type": [+ "string",+ "null"+ ],+ "description": "A short, token-friendly identifier for multi-account disambiguation, typically toolkit-prefixed with 1-2 words (e.g., \"gmail_red-castle\")"+ },+ "alias": {+ "type": [+ "string",+ "null"+ ],+ "description": "A user-defined alias for the connected account"+ },+ "user_id": {+ "type": "string",+ "description": "This is deprecated, we will not be providing userId from this api anymore, you will only be able to read via userId not get it back",+ "deprecated": true+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING",+ "INITIATED",+ "ACTIVE",+ "FAILED",+ "EXPIRED",+ "INACTIVE",+ "REVOKED"+ ],+ "description": "The status of the connection"+ },+ "experimental": {+ "type": "object",+ "properties": {+ "account_type": {+ "type": "string",+ "enum": [+ "PRIVATE",+ "SHARED"+ ],+ "description": "Sharing model for this connected account. PRIVATE is usable only by the owning user_id. SHARED is reachable from a tool-router session only when explicitly pinned in the session config.",+ "x-experimental": true+ },+ "acl_config_for_shared": {+ "type": "object",+ "properties": {+ "allow_all_users": {+ "type": "boolean"+ },+ "allowed_user_ids": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "not_allowed_user_ids": {+ "type": "array",+ "items": {+ "type": "string"+ }+ }+ },+ "required": [+ "allow_all_users",+ "allowed_user_ids",+ "not_allowed_user_ids"+ ],+ "description": "Access control for SHARED connections. Visible only to the connection creator and project/org API key callers; non-creator cookie callers receive the response without this block.",+ "x-experimental": true+ }+ },+ "required": [+ "account_type"+ ],+ "description": "Experimental features - not stable, may be modified or removed in future versions.",+ "x-experimental": true+ },+ "created_at": {+ "type": "string",+ "description": "The created at of the connection"+ },+ "updated_at": {+ "type": "string",+ "description": "The updated at of the connection"+ },+ "state": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "OAUTH1"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ },+ "oauth_token": {+ "type": "string"+ },+ "authUri": {+ "type": "string"+ },+ "oauth_token_secret": {+ "type": "string"+ },+ "redirectUrl": {+ "type": "string"+ },+ "callbackUrl": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "oauth_token",+ "authUri",+ "oauth_token_secret",+ "redirectUrl"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "oauth_token": {+ "type": "string"+ },+ "oauth_token_secret": {+ "type": "string"+ },+ "oauth_verifier": {+ "type": "string"+ },+ "consumer_key": {+ "type": "string"+ },+ "redirectUrl": {+ "type": "string"+ },+ "callback_url": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "oauth_token",+ "oauth_token_secret"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "oauth_token": {+ "type": "string"+ },+ "oauth_token_secret": {+ "type": "string"+ },+ "oauth_verifier": {+ "type": "string"+ },+ "consumer_key": {+ "type": "string"+ },+ "redirectUrl": {+ "type": "string"+ },+ "callback_url": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "oauth_token",+ "oauth_token_secret"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "OAUTH2"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "code_verifier": {+ "type": "string"+ },+ "redirectUrl": {+ "type": "string"+ },+ "callback_url": {+ "type": "string"+ },+ "finalRedirectUri": {+ "type": "string"+ },+ "webhook_signature": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "redirectUrl"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "access_token": {+ "type": "string"+ },+ "id_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "refresh_token": {+ "type": [+ "string",+ "null"+ ]+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ },+ "webhook_signature": {+ "type": "string"+ },+ "authed_user": {+ "type": "object",+ "properties": {+ "access_token": {+ "type": "string"+ },+ "scope": {+ "type": "string"+ }+ },+ "description": "for slack user scopes"+ },+ "extra_token_data": {+ "type": "object",+ "additionalProperties": {}+ }+ },+ "required": [+ "status",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "access_token": {+ "type": "string"+ },+ "id_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "refresh_token": {+ "type": [+ "string",+ "null"+ ]+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ },+ "webhook_signature": {+ "type": "string"+ },+ "authed_user": {+ "type": "object",+ "properties": {+ "access_token": {+ "type": "string"+ },+ "scope": {+ "type": "string"+ }+ },+ "description": "for slack user scopes"+ },+ "extra_token_data": {+ "type": "object",+ "additionalProperties": {}+ }+ },+ "required": [+ "status",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "REVOKED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "revoked_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "API_KEY"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "generic_api_key": {+ "type": "string"+ },+ "api_key": {+ "type": "string"+ },+ "bearer_token": {+ "type": "string"+ },+ "basic_encoded": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "generic_api_key": {+ "type": "string"+ },+ "api_key": {+ "type": "string"+ },+ "bearer_token": {+ "type": "string"+ },+ "basic_encoded": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "BASIC"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "BEARER_TOKEN"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "token": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "token"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "GOOGLE_SERVICE_ACCOUNT"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ },+ "redirectUrl": {+ "type": "string"+ },+ "composio_link_redirect_url": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "redirectUrl"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "credentials_json": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "credentials_json"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "credentials_json": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "credentials_json"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "NO_AUTH"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "CALCOM_AUTH"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "BILLCOM_AUTH"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ },+ "redirectUrl": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "redirectUrl"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "sessionId": {+ "type": "string"+ },+ "devKey": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "sessionId",+ "devKey"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "sessionId": {+ "type": "string"+ },+ "devKey": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "sessionId",+ "devKey"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "BASIC_WITH_JWT"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username",+ "password"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username",+ "password"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username",+ "password"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "username": {+ "type": "string"+ },+ "password": {+ "type": "string"+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "username",+ "password"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "SERVICE_ACCOUNT"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "application_id": {+ "type": "string"+ },+ "installation_id": {+ "type": "string"+ },+ "private_key": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "application_id",+ "installation_id",+ "private_key"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "application_id": {+ "type": "string"+ },+ "installation_id": {+ "type": "string"+ },+ "private_key": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "application_id",+ "installation_id",+ "private_key"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "SAML"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "DCR_OAUTH"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "client_id": {+ "type": "string",+ "description": "Dynamically registered client ID"+ },+ "client_secret": {+ "type": "string",+ "description": "Dynamically registered client secret"+ },+ "redirectUrl": {+ "type": "string"+ },+ "callback_url": {+ "type": "string"+ },+ "finalRedirectUri": {+ "type": "string"+ },+ "client_id_issued_at": {+ "type": "number"+ },+ "client_secret_expires_at": {+ "type": "number"+ },+ "code_verifier": {+ "type": "string"+ }+ },+ "required": [+ "status",+ "client_id",+ "redirectUrl"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "client_id": {+ "type": "string",+ "description": "Dynamically registered client ID"+ },+ "client_secret": {+ "type": "string",+ "description": "Dynamically registered client secret"+ },+ "access_token": {+ "type": "string"+ },+ "id_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "refresh_token": {+ "type": [+ "string",+ "null"+ ]+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ },+ "client_id_issued_at": {+ "type": "number"+ },+ "client_secret_expires_at": {+ "type": "number"+ }+ },+ "required": [+ "status",+ "client_id",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "client_id": {+ "type": "string",+ "description": "Dynamically registered client ID"+ },+ "client_secret": {+ "type": "string",+ "description": "Dynamically registered client secret"+ },+ "access_token": {+ "type": "string"+ },+ "id_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "refresh_token": {+ "type": [+ "string",+ "null"+ ]+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ },+ "client_id_issued_at": {+ "type": "number"+ },+ "client_secret_expires_at": {+ "type": "number"+ }+ },+ "required": [+ "status",+ "client_id",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "state_prefix": {+ "type": "string",+ "maxLength": 40,+ "description": "The oauth2 state prefix for the connection"+ },+ "long_redirect_url": {+ "type": "boolean",+ "description": "Whether to return the redirect url without shortening"+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ },+ {+ "type": "object",+ "properties": {+ "authScheme": {+ "type": "string",+ "enum": [+ "S2S_OAUTH2"+ ]+ },+ "val": {+ "oneOf": [+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIALIZING"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INITIATED"+ ]+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "ACTIVE"+ ]+ },+ "access_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "client_id": {+ "type": "string"+ },+ "client_secret": {+ "type": "string"+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "expires_at": {+ "type": "string"+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": [+ "status",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "INACTIVE"+ ]+ },+ "access_token": {+ "type": "string"+ },+ "token_type": {+ "type": "string"+ },+ "client_id": {+ "type": "string"+ },+ "client_secret": {+ "type": "string"+ },+ "expires_in": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ]+ },+ "expires_at": {+ "type": "string"+ },+ "scope": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ {+ "type": "null"+ }+ ]+ }+ },+ "required": [+ "status",+ "access_token"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "FAILED"+ ]+ },+ "error": {+ "type": "string"+ },+ "error_description": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ },+ {+ "type": "object",+ "properties": {+ "subdomain": {+ "type": "string"+ },+ "your-domain": {+ "type": "string"+ },+ "region": {+ "type": "string"+ },+ "shop": {+ "type": "string"+ },+ "account_url": {+ "type": "string"+ },+ "COMPANYDOMAIN": {+ "type": "string"+ },+ "extension": {+ "type": "string"+ },+ "form_api_base_url": {+ "type": "string"+ },+ "instanceEndpoint": {+ "type": "string"+ },+ "api_url": {+ "type": "string"+ },+ "borneo_dashboard_url": {+ "type": "string"+ },+ "proxy_username": {+ "type": "string"+ },+ "proxy_password": {+ "type": "string"+ },+ "domain": {+ "type": "string"+ },+ "version": {+ "type": "string"+ },+ "dc": {+ "type": "string"+ },+ "site_name": {+ "type": "string"+ },+ "instanceName": {+ "type": "string"+ },+ "account_id": {+ "type": "string"+ },+ "your_server": {+ "type": "string"+ },+ "server_location": {+ "type": "string"+ },+ "base_url": {+ "type": "string"+ },+ "status": {+ "type": "string",+ "enum": [+ "EXPIRED"+ ]+ },+ "expired_at": {+ "type": "string"+ }+ },+ "required": [+ "status"+ ],+ "additionalProperties": {}+ }+ ]+ }+ },+ "required": [+ "authScheme",+ "val"+ ]+ }+ ],+ "description": "The state of the connection"+ },+ "data": {+ "type": "object",+ "additionalProperties": {},+ "description": "This is deprecated, use `state` instead",+ "deprecated": true+ },+ "status_reason": {+ "type": [+ "string",+ "null"+ ],+ "description": "The reason the connection status changed. Possible reasons: Connection initiation did not complete within 10 minutes, Permanent auth error during token refresh, Max auth failures reached, OAuth callback failed during token exchange, Connection status updated by user, Auth config is disabled, Revoked via user-initiated revoke endpoint, Revoked via admin tool, Revoked as part of connection delete"+ },+ "is_disabled": {+ "type": "boolean",+ "description": "Whether the connection is disabled"+ },+ "test_request_endpoint": {+ "type": "string",+ "description": "The endpoint to make test request for verification"+ },+ "params": {+ "type": "object",+ "additionalProperties": {},+ "description": "The initialization data of the connection, including configuration parameters",+ "deprecated": true+ },+ "requested_scopes": {+ "type": "array",+ "items": {+ "type": "string"+ },+ "description": "OAuth scopes requested when this connection was most recently initiated (create or refresh). Absent for connections created before scope snapshots were captured and for non-OAuth auth schemes."+ },+ "requested_user_scopes": {+ "type": "array",+ "items": {+ "type": "string"+ },+ "description": "OAuth user-token scopes requested at the most recent initiation. Only meaningful for Slackbot auth configs (user-token scopes); absent otherwise."+ }+ },+ "required": [+ "toolkit",+ "auth_config",+ "id",+ "word_id",+ "alias",+ "user_id",+ "status",+ "created_at",+ "updated_at",+ "state",+ "data",+ "status_reason",+ "is_disabled",+ "params"+ ]+ },+ "metadata": {+ "type": "object",+ "properties": {+ "project_id": {+ "type": "string",+ "description": "ID of the project."+ },+ "org_id": {+ "type": "string",+ "description": "ID of the organization.",+ "deprecated": true+ }+ },+ "required": [+ "project_id",+ "org_id"+ ]+ }+ },+ "required": [+ "id",+ "timestamp",+ "type",+ "data",+ "metadata"+ ]+ },+ "example": {+ "id": "msg_9c8b7a6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",+ "type": "composio.connected_account.expired",+ "timestamp": "2026-01-15T10:30:00Z",+ "metadata": {+ "project_id": "proj_abc123",+ "org_id": "org_abc123"+ },+ "data": {+ "id": "ca_a1b2c3d4e5f6g7h8",+ "toolkit": {+ "slug": "github"+ },+ "auth_config": {+ "id": "ac_x1y2z3a4b5c6",+ "auth_scheme": "OAUTH2",+ "is_composio_managed": true,+ "is_disabled": false+ },+ "word_id": "github_red-castle",+ "alias": null,+ "user_id": "user-123",+ "status": "EXPIRED",+ "created_at": "2026-01-10T09:00:00Z",+ "updated_at": "2026-01-15T10:30:00Z",+ "state": {+ "authScheme": "OAUTH2",+ "val": {+ "status": "EXPIRED"+ }+ },+ "data": {},+ "params": {},+ "status_reason": "Connected account authentication expired.",+ "is_disabled": false+ }+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Return any 2xx status to acknowledge receipt. Non-2xx responses are retried."+ }+ }+ }+ },+ "composio.trigger.disabled": {+ "post": {+ "operationId": "composio_trigger_disabled",+ "tags": [+ "Webhook Events"+ ],+ "summary": "Trigger disabled",+ "description": "Fired when Composio automatically disables a trigger (for example, auth expired or the webhook subscription can no longer be refreshed). Not fired when you disable the trigger or its connected account yourself.",+ "parameters": [+ {+ "schema": {+ "type": "string",+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key."+ },+ "required": true,+ "description": "Unique message ID, stable across delivery retries. Use it as an idempotency key.",+ "name": "webhook-id",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Unix timestamp (seconds) of this delivery attempt."+ },+ "required": true,+ "description": "Unix timestamp (seconds) of this delivery attempt.",+ "name": "webhook-timestamp",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`."+ },+ "required": true,+ "description": "Base64 HMAC-SHA256 signature, formatted `v1,<signature>`, over `${webhook-id}.${webhook-timestamp}.${raw_body}`.",+ "name": "webhook-signature",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Payload version for this subscription (for example `V3`)."+ },+ "required": true,+ "description": "Payload version for this subscription (for example `V3`).",+ "name": "x-composio-webhook-version",+ "in": "header"+ },+ {+ "schema": {+ "type": "string",+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value."+ },+ "required": true,+ "description": "Attempt number for this delivery, starting at `1` and incrementing on each retry. The payload and `webhook-id` are identical across attempts, so use `webhook-id` for idempotency rather than this value.",+ "name": "x-composio-delivery-attempt",+ "in": "header"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "pattern": "^msg_[0-9a-f-]{36}$",+ "description": "Unique event id (msg_<uuid>). Also sent as the `webhook-id` header and stable across delivery retries — use it for idempotency."+ },+ "timestamp": {+ "type": "string",+ "format": "date-time",+ "description": "ISO 8601 timestamp of when the event was created."+ },+ "type": {+ "type": "string",+ "enum": [+ "composio.trigger.disabled"+ ]+ },+ "data": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "description": "ID of the trigger instance that was disabled."+ },+ "connected_account_id": {+ "type": "string",+ "description": "ID of the connected account the trigger belonged to."+ },+ "trigger_name": {+ "type": "string",+ "description": "The trigger that was disabled (for example GITHUB_COMMIT_EVENT)."+ },+ "user_id": {+ "type": [+ "string",+ "null"+ ],+ "description": "ID of the user for this connection, or null if not set."+ },+ "trigger_config": {+ "type": "object",+ "additionalProperties": {},+ "description": "Trigger configuration."+ },+ "disabled_at": {+ "type": "string",+ "format": "date-time",+ "description": "ISO 8601 timestamp of when the trigger was disabled."+ },+ "disabled_reason": {+ "type": "string",+ "description": "Human-readable reason the trigger was disabled."+ }+ },+ "required": [+ "id",+ "connected_account_id",+ "trigger_name",+ "user_id",+ "trigger_config",+ "disabled_at",+ "disabled_reason"+ ]+ },+ "metadata": {+ "type": "object",+ "properties": {+ "project_id": {+ "type": "string",+ "description": "ID of the project."+ }+ },+ "required": [+ "project_id"+ ]+ }+ },+ "required": [+ "id",+ "timestamp",+ "type",+ "data",+ "metadata"+ ]+ },+ "example": {+ "id": "msg_7b3a1c2d-4e5f-4a6b-8c9d-0e1f2a3b4c5d",+ "type": "composio.trigger.disabled",+ "timestamp": "2026-01-15T10:30:00Z",+ "metadata": {+ "project_id": "proj_abc123"+ },+ "data": {+ "id": "ti_xyz789",+ "connected_account_id": "ca_def456",+ "trigger_name": "GITHUB_COMMIT_EVENT",+ "user_id": "user-123",+ "trigger_config": {+ "repo": "composio"+ },+ "disabled_at": "2026-01-15T10:30:00Z",+ "disabled_reason": "Connected account authentication expired."+ }+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Return any 2xx status to acknowledge receipt. Non-2xx responses are retried."+ }+ }+ }+ }+ }+}\ No newline at end of filediff --git a/docs/scripts/fetch-openapi.mjs b/docs/scripts/fetch-openapi.mjsindex db500f9c7..6749a0a90 100644--- a/docs/scripts/fetch-openapi.mjs+++ b/docs/scripts/fetch-openapi.mjs@@ -1,38 +1,184 @@/*** Fetches and filters the OpenAPI specs for fumadocs.- * Outputs two separate spec files:- * - public/openapi.json (v3.1 — latest, clean operationIds)- * - public/openapi-v3.json (v3.0)+ *+ * Heads-up: "3.1" is overloaded below. The first two are OpenAPI 3.0.0+ * DOCUMENTS that happen to describe different COMPOSIO API versions; the third+ * is an OpenAPI 3.1.0 document (a format version, not an API version).+ *+ * Outputs three spec files:+ * - public/openapi.json Composio API v3.1, as an OpenAPI 3.0.0 doc+ * (latest; operationIds cleaned)+ * - public/openapi-v3.json Composio API v3.0, as an OpenAPI 3.0.0 doc+ * - public/openapi-webhooks.json webhook event payloads, as an OpenAPI 3.1.0+ * doc. The format bump is the whole reason+ * this is a separate file: the top-level+ * `webhooks` object does not exist in 3.0, so+ * these cannot live in openapi.json.** Run: bun run scripts/fetch-openapi.mjs*/import { writeFileSync } from 'node:fs';-import { fileURLToPath } from 'node:url';import { dirname, join } from 'node:path';-import { PRODUCTION_BASE_URL, PRODUCTION_API_V3_URL, PRODUCTION_API_V31_URL } from './production-api.mjs';+import { fileURLToPath } from 'node:url';+import { z } from 'zod';+import { fetchWithRetry } from './fetch-with-retry';+import {+ PRODUCTION_BASE_URL,+ PRODUCTION_API_V3_URL,+ PRODUCTION_API_V31_URL,+} from './production-api.mjs';const OPENAPI_V3_URL = process.env.OPENAPI_SPEC_URL || `${PRODUCTION_API_V3_URL}/openapi.json`;-const OPENAPI_V31_URL = process.env.OPENAPI_V31_SPEC_URL || `${PRODUCTION_API_V31_URL}/openapi.json`;+const OPENAPI_V31_URL =+ process.env.OPENAPI_V31_SPEC_URL || `${PRODUCTION_API_V31_URL}/openapi.json`;+const OPENAPI_WEBHOOKS_URL =+ process.env.OPENAPI_WEBHOOKS_SPEC_URL || `${PRODUCTION_API_V31_URL}/openapi-webhooks.json`;+const SCRIPT_DIRECTORY = dirname(fileURLToPath(import.meta.url));+const HTTP_METHODS = ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'];// Tags to ignore (internal/admin)-const IGNORED_TAGS = [- 'CLI',- 'Admin',- 'Profiling',- 'User',- 'x-internal',-];--async function fetchSpec(url) {+const IGNORED_TAGS = new Set(['CLI', 'Admin', 'Profiling', 'User', 'x-internal']);++const NonEmptyStringSchema = z.string().trim().min(1);+const JsonObjectSchema = z.object({}).passthrough();+const TagSchema = z+ .object({+ name: NonEmptyStringSchema,+ description: z.string().optional(),+ })+ .passthrough();+const OperationSchema = z+ .object({+ tags: z.array(NonEmptyStringSchema).optional(),+ operationId: NonEmptyStringSchema.optional(),+ security: z.array(z.record(z.string(), z.unknown())).optional(),+ 'x-internal': z.boolean().optional(),+ })+ .passthrough();+const PathItemSchema = z+ .object({+ get: OperationSchema.optional(),+ put: OperationSchema.optional(),+ post: OperationSchema.optional(),+ delete: OperationSchema.optional(),+ options: OperationSchema.optional(),+ head: OperationSchema.optional(),+ patch: OperationSchema.optional(),+ trace: OperationSchema.optional(),+ })+ .passthrough();+const OpenApiDocumentSchema = z+ .object({+ openapi: NonEmptyStringSchema,+ paths: z.record(z.string(), PathItemSchema),+ tags: z.array(TagSchema).optional(),+ components: z+ .object({+ securitySchemes: z.record(z.string(), z.unknown()).optional(),+ })+ .passthrough()+ .optional(),+ })+ .passthrough();++const JsonRequestBodySchema = z+ .object({+ content: z+ .object({+ 'application/json': z+ .object({+ schema: JsonObjectSchema,+ })+ .passthrough(),+ })+ .passthrough(),+ })+ .passthrough();+const WebhookOperationSchema = OperationSchema.extend({+ operationId: NonEmptyStringSchema,+ tags: z.array(NonEmptyStringSchema).min(1),+ requestBody: JsonRequestBodySchema,+});+const WebhookItemSchema = z+ .object({+ post: WebhookOperationSchema,+ })+ .passthrough();+const WebhookDocumentSchema = z+ .object({+ openapi: z.string().refine(version => version.startsWith('3.1'), {+ error: 'Expected an OpenAPI 3.1 document',+ }),+ tags: z.array(TagSchema).min(1),+ webhooks: z+ .record(NonEmptyStringSchema, WebhookItemSchema)+ .refine(webhooks => Object.keys(webhooks).length > 0, {+ error: 'Expected at least one webhook event',+ }),+ })+ .passthrough()+ .superRefine((document, context) => {+ const declaredTags = new Set(document.tags.map(tag => tag.name));+ const operationIds = new Set();++ for (const [eventName, item] of Object.entries(document.webhooks)) {+ for (const tag of item.post.tags) {+ if (!declaredTags.has(tag)) {+ context.addIssue({+ code: 'custom',+ path: ['webhooks', eventName, 'post', 'tags'],+ message: `Tag "${tag}" is not declared in document.tags`,+ });+ }+ }++ if (operationIds.has(item.post.operationId)) {+ context.addIssue({+ code: 'custom',+ path: ['webhooks', eventName, 'post', 'operationId'],+ message: `Duplicate operationId "${item.post.operationId}"`,+ });+ }+ operationIds.add(item.post.operationId);+ }+ });++async function fetchJson(url) {console.log(`Fetching OpenAPI spec from ${url}...`);- const response = await fetch(url);+ const response = await fetchWithRetry(url);if (!response.ok) {throw new Error(`Failed to fetch ${url}: ${response.status}`);}return response.json();}+function formatZodError(error) {+ return error.issues+ .map(issue => `${issue.path.join('.') || 'document'}: ${issue.message}`)+ .join('; ');+}++function parseDocument(schema, payload, label) {+ const parsed = schema.safeParse(payload);+ if (!parsed.success) {+ throw new Error(`Invalid ${label}: ${formatZodError(parsed.error)}`);+ }++ // Zod confirms the boundary; the clone preserves the upstream document's key+ // order instead of serializing Zod's schema-key order into generated files.+ return structuredClone(payload);+}++function forEachOperation(paths, callback) {+ for (const pathItem of Object.values(paths)) {+ for (const method of HTTP_METHODS) {+ const operation = pathItem[method];+ if (operation) callback(operation);+ }+ }+}+/*** Filter paths: remove ignored/internal tags, keep first tag only.*/@@ -40,32 +186,28 @@ function filterPaths(paths) {const filteredPaths = {};let removedCount = 0;- for (const [path, methods] of Object.entries(paths)) {- const filteredMethods = {};+ for (const [path, pathItem] of Object.entries(paths)) {+ const filteredPathItem = { ...pathItem };- for (const [method, operation] of Object.entries(methods)) {- const tags = operation.tags || [];- const hasValidTag = tags.some(tag => !IGNORED_TAGS.includes(tag));+ for (const method of HTTP_METHODS) {+ const operation = pathItem[method];+ if (!operation) continue;- if (!hasValidTag && tags.length > 0) {- removedCount++;- continue;- }+ const tags = operation.tags ?? [];+ const isInternal = operation['x-internal'] === true || tags.includes('x-internal');+ const hasOnlyIgnoredTags = tags.length > 0 && tags.every(tag => IGNORED_TAGS.has(tag));- if (operation['x-internal'] === true || tags.includes('x-internal')) {+ if (isInternal || hasOnlyIgnoredTags) {+ delete filteredPathItem[method];removedCount++;- continue;+ } else if (tags.length > 1) {+ filteredPathItem[method] = { ...operation, tags: [tags[0]] };}-- if (tags.length > 1) {- operation.tags = [tags[0]];- }-- filteredMethods[method] = operation;}- if (Object.keys(filteredMethods).length > 0) {- filteredPaths[path] = filteredMethods;+ const hasOperation = HTTP_METHODS.some(method => filteredPathItem[method]);+ if (hasOperation || filteredPathItem.$ref) {+ filteredPaths[path] = filteredPathItem;}}@@ -76,18 +218,113 @@ function filterPaths(paths) {* Strip version prefixes from operationIds (e.g. getV3_1Tools → getTools).*/function cleanOperationIds(paths) {- for (const methods of Object.values(paths)) {- for (const operation of Object.values(methods)) {- if (operation.operationId) {- // Remove V3_1, V3_0, etc. prefixes from operationId- operation.operationId = operation.operationId.replace(/V\d+_\d+/g, '');+ forEachOperation(paths, operation => {+ if (operation.operationId) {+ operation.operationId = operation.operationId.replace(/V\d+_\d+/g, '');+ }+ });+}++function mergePropertySchemas(existing, incoming) {+ if (!existing) return structuredClone(incoming);++ const merged = structuredClone(existing);+ if (existing.enum && incoming.enum) {+ merged.enum = [...new Set([...existing.enum, ...incoming.enum])];+ }+ if (existing.properties && incoming.properties) {+ merged.properties = { ...existing.properties };+ for (const [key, value] of Object.entries(incoming.properties)) {+ merged.properties[key] = mergePropertySchemas(merged.properties[key], value);+ }+ }+ return merged;+}++function visitObjects(value, visitor, parentKey = '') {+ if (Array.isArray(value)) {+ for (const item of value) visitObjects(item, visitor, parentKey);+ return;+ }+ if (!value || typeof value !== 'object') return;++ visitor(value, parentKey);+ for (const [key, child] of Object.entries(value)) {+ visitObjects(child, visitor, key);+ }+}++function normalizeLargeObjectUnions(spec) {+ visitObjects(spec, schema => {+ for (const unionKey of ['anyOf', 'oneOf']) {+ const variants = schema[unionKey];+ if (!Array.isArray(variants) || variants.length <= 5) continue;++ const objectSchemas = variants.filter(+ variant => variant?.type === 'object' && variant.properties+ );+ const mostlyObjects =+ objectSchemas.length > 5 && objectSchemas.length >= variants.length * 0.8;+ if (!mostlyObjects) continue;++ const mergedProperties = {};+ for (const objectSchema of objectSchemas) {+ for (const [name, property] of Object.entries(objectSchema.properties)) {+ mergedProperties[name] = mergePropertySchemas(mergedProperties[name], property);+ }+ }++ const universallyRequired = [+ ...new Set(objectSchemas.flatMap(objectSchema => objectSchema.required ?? [])),+ ].filter(name => objectSchemas.every(objectSchema => objectSchema.required?.includes(name)));++ delete schema[unionKey];+ schema.type = 'object';+ schema.properties = mergedProperties;+ schema.additionalProperties = true;+ if (universallyRequired.length > 0) {+ schema.required = universallyRequired;+ }+ }+ });+}++function fixNullableWithoutType(spec) {+ visitObjects(spec, (schema, parentKey) => {+ const needsType =+ schema.nullable === true &&+ !schema.type &&+ !schema.$ref &&+ !schema.oneOf &&+ !schema.anyOf &&+ !schema.allOf;+ if (needsType) {+ if (parentKey === 'additionalProperties') {+ delete schema.nullable;+ } else if (Array.isArray(schema.example)) {+ schema.type = 'array';+ } else {+ schema.type = 'object';}}+ });+}++function removeCookieAuthentication(spec) {+ if (spec.components?.securitySchemes?.CookieAuth) {+ delete spec.components.securitySchemes.CookieAuth;}++ forEachOperation(spec.paths, operation => {+ if (!operation.security) return;++ operation.security = operation.security.filter(requirement => !('CookieAuth' in requirement));+ if (operation.security.length === 0) delete operation.security;+ });}/**- * Post-process a spec: remove CookieAuth, normalize unions, fix nullable.+ * Post-process a spec: pin production, hide internal API, and normalize schemas.*/function postProcessSpec(spec) {// Pin the server to production. The published docs must always show the@@ -100,146 +337,97 @@ function postProcessSpec(spec) {description: 'PRODUCTION API',},];-- // Filter tags listif (spec.tags) {- spec.tags = spec.tags.filter(tag => !IGNORED_TAGS.includes(tag.name));+ spec.tags = spec.tags.filter(tag => !IGNORED_TAGS.has(tag.name));}- // Remove CookieAuth from security schemes- if (spec.components?.securitySchemes?.CookieAuth) {- delete spec.components.securitySchemes.CookieAuth;- }+ removeCookieAuthentication(spec);+ normalizeLargeObjectUnions(spec);+ fixNullableWithoutType(spec);+}- // Remove CookieAuth from all endpoint security arrays- for (const methods of Object.values(spec.paths)) {- for (const operation of Object.values(methods)) {- if (operation.security) {- operation.security = operation.security.filter(sec => !('CookieAuth' in sec));- if (operation.security.length === 0) {- delete operation.security;- }- }- }- }+export function prepareApiSpec(payload, apiVersion) {+ const spec = parseDocument(+ OpenApiDocumentSchema,+ payload,+ `Composio API v${apiVersion} OpenAPI document`+ );+ const { filteredPaths, removedCount } = filterPaths(spec.paths);+ spec.paths = filteredPaths;- // Normalize overly complex anyOf/oneOf schemas- const mergePropertySchemas = (existing, incoming) => {- if (!existing) return JSON.parse(JSON.stringify(incoming));- const merged = JSON.parse(JSON.stringify(existing));- if (existing.enum && incoming.enum) {- merged.enum = [...new Set([...existing.enum, ...incoming.enum])];- }- if (existing.properties && incoming.properties) {- merged.properties = { ...existing.properties };- for (const [key, val] of Object.entries(incoming.properties)) {- merged.properties[key] = mergePropertySchemas(merged.properties[key], val);- }- }- return merged;- };+ cleanOperationIds(spec.paths);+ forEachOperation(spec.paths, operation => {+ operation['x-api-version'] = apiVersion;+ });+ postProcessSpec(spec);- const normalizeUnionSchemas = (obj) => {- if (!obj || typeof obj !== 'object') return;- for (const unionKey of ['anyOf', 'oneOf']) {- if (obj[unionKey] && Array.isArray(obj[unionKey]) && obj[unionKey].length > 5) {- const objectSchemas = obj[unionKey].filter(s => s.type === 'object' && s.properties);- if (objectSchemas.length > 5 && objectSchemas.length >= obj[unionKey].length * 0.8) {- const mergedProperties = {};- const allRequired = new Set();- for (const schema of objectSchemas) {- for (const [propName, propSchema] of Object.entries(schema.properties || {})) {- mergedProperties[propName] = mergePropertySchemas(mergedProperties[propName], propSchema);- }- if (schema.required) {- for (const req of schema.required) allRequired.add(req);- }- }- const universallyRequired = [...allRequired].filter(req =>- objectSchemas.every(s => s.required && s.required.includes(req))- );- delete obj[unionKey];- obj.type = 'object';- obj.properties = mergedProperties;- if (universallyRequired.length > 0) obj.required = universallyRequired;- obj.additionalProperties = true;- }- }- }- for (const val of Object.values(obj)) {- if (Array.isArray(val)) val.forEach(item => normalizeUnionSchemas(item));- else normalizeUnionSchemas(val);- }- };- normalizeUnionSchemas(spec);+ return { spec, removedCount };+}- // Fix invalid OpenAPI 3.0: "nullable: true" without "type"- const fixNullableWithoutType = (obj, parentKey = '') => {- if (!obj || typeof obj !== 'object') return;- if (obj.nullable === true && !obj.type && !obj.$ref && !obj.oneOf && !obj.anyOf && !obj.allOf) {- if (parentKey === 'additionalProperties') {- delete obj.nullable;- } else if (obj.example && typeof obj.example === 'object' && !Array.isArray(obj.example)) {- obj.type = 'object';- } else if (obj.example && Array.isArray(obj.example)) {- obj.type = 'array';- } else {- obj.type = 'object';- }- }- for (const [key, val] of Object.entries(obj)) {- if (Array.isArray(val)) val.forEach(item => fixNullableWithoutType(item, key));- else fixNullableWithoutType(val, key);- }- };- fixNullableWithoutType(spec);+function writeJson(filename, value) {+ const outputPath = join(SCRIPT_DIRECTORY, '../public', filename);+ writeFileSync(outputPath, JSON.stringify(value, null, 2));+ console.log(`Written ${filename} to ${outputPath}`);}-async function fetchAndFilterSpec() {- // Fetch both specs in parallel- const [v3Raw, v31Raw] = await Promise.all([- fetchSpec(OPENAPI_V3_URL),- fetchSpec(OPENAPI_V31_URL),+async function fetchAndFilterSpecs() {+ const [v3Payload, v31Payload] = await Promise.all([+ fetchJson(OPENAPI_V3_URL),+ fetchJson(OPENAPI_V31_URL),]);+ const v31 = prepareApiSpec(v31Payload, '3.1');+ const v3 = prepareApiSpec(v3Payload, '3.0');- // --- v3.1 spec (latest, default) ---- const v31Spec = JSON.parse(JSON.stringify(v31Raw));- const v31Filtered = filterPaths(v31Spec.paths);- v31Spec.paths = v31Filtered.filteredPaths;- // Clean operationIds: getV3_1Tools → getTools (so URLs are clean)- cleanOperationIds(v31Spec.paths);- // Annotate all operations with version- for (const methods of Object.values(v31Spec.paths)) {- for (const op of Object.values(methods)) {- op['x-api-version'] = '3.1';- }- }- postProcessSpec(v31Spec);- console.log(`v3.1: ${Object.keys(v31Spec.paths).length} paths`);-- // --- v3.0 spec ---- const v3Spec = JSON.parse(JSON.stringify(v3Raw));- const v3Filtered = filterPaths(v3Spec.paths);- v3Spec.paths = v3Filtered.filteredPaths;- cleanOperationIds(v3Spec.paths);- for (const methods of Object.values(v3Spec.paths)) {- for (const op of Object.values(methods)) {- op['x-api-version'] = '3.0';- }- }- postProcessSpec(v3Spec);- console.log(`v3.0: ${Object.keys(v3Spec.paths).length} paths`);+ console.log(+ `v3.1: ${Object.keys(v31.spec.paths).length} paths (${v31.removedCount} operations removed)`+ );+ console.log(+ `v3.0: ${Object.keys(v3.spec.paths).length} paths (${v3.removedCount} operations removed)`+ );++ writeJson('openapi.json', v31.spec);+ writeJson('openapi-v3.json', v3.spec);+}- // Write both spec files- const __dirname = dirname(fileURLToPath(import.meta.url));+/**+ * Fetch the standalone webhook-events spec and write it verbatim.+ *+ * It's a separate OpenAPI 3.1 document keyed on `webhooks` (not `paths`), so it+ * skips the path filtering, server pinning, and union normalization above — none+ * of which apply. Fetched live from production like openapi.json.+ *+ * A fetch or schema failure leaves the committed snapshot untouched. This keeps+ * a transient or malformed production response from deleting generated pages.+ */+export function writeWebhookSnapshot(payload, outputPath, sourceUrl = OPENAPI_WEBHOOKS_URL) {+ const parsed = WebhookDocumentSchema.safeParse(payload);+ if (!parsed.success) {+ console.warn(+ `WARN: refusing to write webhooks spec from ${sourceUrl} — ${formatZodError(parsed.error)}. Keeping existing ${outputPath}.`+ );+ return false;+ }- const v31Path = join(__dirname, '../public/openapi.json');- writeFileSync(v31Path, JSON.stringify(v31Spec, null, 2));- console.log(`Written v3.1 spec to ${v31Path}`);+ const eventCount = Object.keys(parsed.data.webhooks).length;+ writeFileSync(outputPath, JSON.stringify(payload, null, 2));+ console.log(`Written webhooks spec to ${outputPath} (${eventCount} events)`);+ return true;+}- const v3Path = join(__dirname, '../public/openapi-v3.json');- writeFileSync(v3Path, JSON.stringify(v3Spec, null, 2));- console.log(`Written v3.0 spec to ${v3Path}`);+async function fetchAndWriteWebhookSpec() {+ const outputPath = join(SCRIPT_DIRECTORY, '../public/openapi-webhooks.json');+ try {+ const payload = await fetchJson(OPENAPI_WEBHOOKS_URL);+ writeWebhookSnapshot(payload, outputPath);+ } catch (err) {+ const message = err instanceof Error ? err.message : String(err);+ console.warn(+ `WARN: could not fetch webhooks spec from ${OPENAPI_WEBHOOKS_URL}: ${message}. Keeping existing ${outputPath}.`+ );+ }}-fetchAndFilterSpec().catch(console.error);+if (import.meta.main) {+ // Independent fetches with independent error handling; run them concurrently.+ await Promise.all([fetchAndFilterSpecs().catch(console.error), fetchAndWriteWebhookSpec()]);+}diff --git a/docs/scripts/generate-api-index.ts b/docs/scripts/generate-api-index.tsindex af752b8d6..42d45bea1 100644--- a/docs/scripts/generate-api-index.ts+++ b/docs/scripts/generate-api-index.ts@@ -108,6 +108,134 @@ function activeTagSlugs(opsByTag: Record<string, OperationEntry[]>): Set<string>return active;}+interface WebhookSpec {+ tags?: { name: string; description?: string }[];+ webhooks?: Record<string, Record<string, OpenAPIOperation>>;+}++function loadWebhookSpec(): WebhookSpec | null {+ const specPath = join(process.cwd(), 'public/openapi-webhooks.json');+ if (!existsSync(specPath)) return null;+ return JSON.parse(readFileSync(specPath, 'utf-8'));+}++/**+ * Tag slugs contributed by the separate webhook-events spec (PLEN-2793). Its+ * operations live under the OpenAPI 3.1 `webhooks` block (not `paths`) and its+ * tag ("Webhook Events") is absent from openapi.json — so without folding these+ * into the active set, `removeStaleTagIndexes` would recursively delete the+ * hand-authored `webhook-events` overview folder on the next docs data run.+ */+function webhookTagSlugs(spec: WebhookSpec | null): Set<string> {+ const slugs = new Set<string>();+ if (!spec) return slugs;++ for (const item of Object.values(spec.webhooks ?? {})) {+ for (const operation of Object.values(item)) {+ for (const tag of operation.tags ?? []) {+ slugs.add(slugify(tag));+ }+ }+ }+ return slugs;+}++/**+ * Generates the Webhook Events overview page from the webhooks spec.+ *+ * The event list MUST be derived, not hand-maintained: adding an event to the+ * Apollo registry would otherwise leave it off this page, and removing one would+ * leave a link to a page Fumadocs no longer builds (a 404). Prose lives in+ * `api-overviews/webhook-events.mdx`; everything below it is generated.+ *+ * Individual event pages are rendered by Fumadocs straight from the spec, so+ * this page only needs the index tables.+ */+function generateWebhookEventsIndex(spec: WebhookSpec | null, outputDir: string) {+ if (!spec) return;++ const entries = Object.entries(spec.webhooks ?? {});+ if (entries.length === 0) return;++ const operationTags = new Set(+ entries.flatMap(([, item]) => item.post?.tags ?? []),+ );+ if (operationTags.size !== 1) {+ throw new Error(+ `Expected webhook operations to share exactly one tag, found: ${[...operationTags].join(', ') || 'none'}`,+ );+ }++ const [operationTag] = operationTags;+ const tag = spec.tags?.find(candidate => candidate.name === operationTag);+ if (!tag) {+ throw new Error(`Webhook operation tag "${operationTag}" is not declared in spec.tags`);+ }+ const tagSlug = slugify(tag.name);++ const current: string[] = [];+ const legacy: string[] = [];++ for (const [key, item] of entries) {+ const operation = item.post;+ if (!operation?.operationId) continue;++ const href = `/reference/api-reference/${tagSlug}/${operation.operationId}`;+ const label = operation.summary ?? key;++ if (operation.deprecated !== true) {+ current.push(`| \`${key}\` | [${label}](${href}) |`);+ continue;+ }++ // Legacy payloads are keyed `<event>.<version>` so each format gets its own+ // page — but `composio.trigger.message.v2` is NOT an event type anyone ever+ // receives. Split the synthetic key back apart so the table shows the real+ // event plus the payload version it applies to.+ const versioned = /^(.*)\.(v\d+)$/.exec(key);+ const event = versioned ? versioned[1] : key;+ const version = versioned ? versioned[2].toUpperCase() : '—';+ legacy.push(`| \`${event}\` | ${version} | [${label}](${href}) |`);+ }++ const overview = readOverview(tagSlug);+ const body = overview ?? tag?.description ?? '';++ const legacySection =+ legacy.length > 0+ ? `++## Legacy payloads (deprecated)++Older subscriptions may still receive these payload formats. The event type is unchanged — only the payload shape differs, selected by the subscription's version. You can upgrade an existing subscription at any time by updating its \`version\` — see [Update a webhook subscription](/reference/api-reference/webhook-subscriptions/patchWebhookSubscriptionsById). New integrations should use the current events above.++| Event | Version | Description |+|-------|---------|-------------|+${legacy.join('\n')}`+ : '';++ const content = `---+title: ${tag?.name ?? 'Webhook Events'}+description: "${tag?.description ?? ''}"+---++{/* Auto-generated from openapi-webhooks.json. Edit the overview at api-overviews/${tagSlug}.mdx, not this file. */}++${body}++## Events++| Event | Description |+|-------|-------------|+${current.join('\n')}${legacySection}+`;++ const folderPath = join(outputDir, tagSlug);+ mkdirSync(folderPath, { recursive: true });+ writeFileSync(join(folderPath, 'index.mdx'), content);+ console.log(`Generated: ${tagSlug}/index.mdx (${current.length} events, ${legacy.length} legacy)`);+}+function removeStaleTagIndexes(baseDir: string, activeSlugs: Set<string>) {if (!existsSync(baseDir)) return;@@ -146,13 +274,25 @@ function generateIndexPages() {}const outputDir = join(process.cwd(), 'content/reference/api-reference');+ const webhookSpec = loadWebhookSpec();- removeStaleTagIndexes(outputDir, activeTagSlugs(v31Ops));+ // `Webhook Events` is tagged only in openapi-webhooks.json, so it never appears+ // in the openapi.json-derived active set. Without folding it in, the section is+ // recursively deleted on every run (and immediately regenerated below) — and if+ // that ordering ever changed, the docs would silently lose the whole section.+ removeStaleTagIndexes(+ outputDir,+ new Set([...activeTagSlugs(v31Ops), ...webhookTagSlugs(webhookSpec)]),+ );removeStaleTagIndexes(join(process.cwd(), 'content/reference/v3/api-reference'),activeTagSlugs(v3Ops),);+ // Webhook events come from a separate 3.1 spec, so they're generated here+ // rather than in the tag loop below (which iterates openapi.json operations).+ generateWebhookEventsIndex(webhookSpec, outputDir);+// Get all unique tag namesconst allTags = new Set([...Object.keys(v31Ops), ...Object.keys(v3Ops)]);diff --git a/docs/tests/static/api-deprecation.test.tsx b/docs/tests/static/api-deprecation.test.tsxindex d87a25e14..c6b030a4d 100644--- a/docs/tests/static/api-deprecation.test.tsx+++ b/docs/tests/static/api-deprecation.test.tsx@@ -50,6 +50,26 @@ function createSpec(version: "v3.1" | "v3") {};}+function createWebhookSpec() {+ return {+ openapi: "3.1.0",+ tags: [+ { name: "Unrelated Tag", description: "Declared first on purpose" },+ { name: "Webhook Events", description: "Webhook event payloads" },+ ],+ paths: {},+ webhooks: {+ "composio.test.event": {+ post: {+ tags: ["Webhook Events"],+ summary: "Test event",+ operationId: "composio_test_event",+ },+ },+ },+ };+}+function parseEndpoints(content: string): SerializedEndpoint[] {const prefix = "<ApiEndpointsTable endpoints={";const start = content.indexOf(prefix);@@ -81,7 +101,7 @@ function expectedEndpoints(hrefPrefix: string): SerializedEndpoint[] {];}-async function generateFixture(): Promise<string> {+async function generateFixture(options?: { webhookSpec?: ReturnType<typeof createWebhookSpec> }): Promise<string> {const fixtureDir = await mkdtemp(join(tmpdir(), "composio-api-index-"));fixtureDirectories.push(fixtureDir);@@ -94,6 +114,12 @@ async function generateFixture(): Promise<string> {join(fixtureDir, "public/openapi-v3.json"),JSON.stringify(createSpec("v3")),);+ if (options?.webhookSpec) {+ await writeFile(+ join(fixtureDir, "public/openapi-webhooks.json"),+ JSON.stringify(options.webhookSpec),+ );+ }const process = Bun.spawn([Bun.argv[0], GENERATOR_PATH], {cwd: fixtureDir,@@ -321,3 +347,29 @@ describe("deprecated API endpoints", () => {expect(html.match(/>Legacy<\/span>/g)).toHaveLength(1);});});++describe("webhook API index", () => {+ test("routes the index from the operation tag instead of tag declaration order", async () => {+ const fixtureDir = await generateFixture({ webhookSpec: createWebhookSpec() });+ const content = await readFile(+ join(+ fixtureDir,+ "content/reference/api-reference/webhook-events/index.mdx",+ ),+ "utf-8",+ );++ expect(content).toContain("title: Webhook Events");+ expect(content).toContain(+ "[Test event](/reference/api-reference/webhook-events/composio_test_event)",+ );+ expect(+ await Bun.file(+ join(+ fixtureDir,+ "content/reference/api-reference/unrelated-tag/index.mdx",+ ),+ ).exists(),+ ).toBe(false);+ });+});diff --git a/docs/tests/static/llms-openapi.test.ts b/docs/tests/static/llms-openapi.test.tsnew file mode 100644index 000000000..1c7b4c08e--- /dev/null+++ b/docs/tests/static/llms-openapi.test.ts@@ -0,0 +1,146 @@+import { beforeAll, describe, expect, mock, test } from "bun:test";++let dereferencedSpec: Record<string, unknown> = {};++mock.module("@/lib/source", () => ({+ source: {},+ getReferenceSource: async () => ({}),+ examplesSource: {},+ toolkitsSource: {},+ changelogEntries: [],+ slugToDate: () => null,+ formatDate: () => "",+ getLLMText: async () => "",+ mdxToCleanMarkdown: async () => "",+}));+mock.module("@/lib/openapi", () => ({+ openapi: {+ getSchema: async () => ({ dereferenced: dereferencedSpec }),+ },+}));+mock.module("next/navigation", () => ({+ notFound: () => {+ throw new Error("not found");+ },+ usePathname: () => "/reference/api-reference/tasks",+}));+mock.module("@/lib/toolkit-data", () => ({+ getAllToolkits: async () => [],+ getToolkitBySlug: async () => null,+}));+mock.module("@/lib/meta-tools-data", () => ({+ getAllMetaTools: async () => [],+ getMetaToolBySlug: async () => null,+}));+mock.module("@/lib/toolkit-schema", () => ({+ processSchema: (schema: unknown) => schema,+ toolFromApi: (tool: unknown) => tool,+}));++let openapiPageToMarkdown: typeof import("../../app/llms.mdx/[[...slug]]/route").openapiPageToMarkdown;++beforeAll(async () => {+ ({ openapiPageToMarkdown } = await import(+ "../../app/llms.mdx/[[...slug]]/route"+ ));+});++describe("LLM OpenAPI markdown", () => {+ test("continues to render API operations with endpoint and cURL details", async () => {+ dereferencedSpec = {+ paths: {+ "/v3.1/test": {+ get: {+ summary: "Get test",+ responses: {+ 200: { description: "Success" },+ },+ },+ },+ },+ servers: [{ url: "https://backend.example.com" }],+ };++ const markdown = await openapiPageToMarkdown({+ url: "/reference/api-reference/test/getTest",+ data: {+ title: "Get test",+ getAPIPageProps: () => ({+ document: "/openapi.json",+ operations: [{ path: "/v3.1/test", method: "GET" }],+ }),+ },+ });++ expect(markdown).toContain("**Endpoint:** `https://backend.example.com/v3.1/test`");+ expect(markdown).toContain("### Example cURL Request");+ expect(markdown).toContain(+ 'curl -X GET "https://backend.example.com/v3.1/test"',+ );+ });++ test("renders webhook delivery headers and payload schema", async () => {+ dereferencedSpec = {+ openapi: "3.1.0",+ webhooks: {+ "composio.test.event": {+ post: {+ summary: "Test event",+ parameters: [+ {+ name: "webhook-id",+ in: "header",+ required: true,+ description: "Stable delivery identifier.",+ schema: { type: "string" },+ },+ ],+ requestBody: {+ content: {+ "application/json": {+ schema: {+ type: "object",+ required: ["id"],+ properties: {+ id: {+ type: "string",+ description: "Unique event identifier.",+ },+ },+ },+ example: { id: "msg_test" },+ },+ },+ },+ responses: {+ 200: { description: "Delivery accepted" },+ },+ },+ },+ },+ };++ const markdown = await openapiPageToMarkdown({+ url: "/reference/api-reference/webhook-events/composio_test_event",+ data: {+ title: "Test event",+ getAPIPageProps: () => ({+ document: "/openapi-webhooks.json",+ webhooks: [{ name: "composio.test.event", method: "post" }],+ }),+ },+ });++ expect(markdown).toContain("## POST `composio.test.event`");+ expect(markdown).toContain("### Delivery Headers");+ expect(markdown).toContain(+ "- `webhook-id` (string) *(required)*: Stable delivery identifier.",+ );+ expect(markdown).toContain("### Request Body");+ expect(markdown).toContain(+ "- `id` (string) *(required)*: Unique event identifier.",+ );+ expect(markdown).toContain('"id": "msg_test"');+ expect(markdown).not.toContain("### Example cURL Request");+ });+});diff --git a/docs/tests/static/webhook-openapi.test.ts b/docs/tests/static/webhook-openapi.test.tsnew file mode 100644index 000000000..56b3cad99--- /dev/null+++ b/docs/tests/static/webhook-openapi.test.ts@@ -0,0 +1,138 @@+import { afterEach, describe, expect, spyOn, test } from 'bun:test';+import { mkdtemp, readFile, rm, writeFile } from 'fs/promises';+import { tmpdir } from 'os';+import { join } from 'path';+import { prepareApiSpec, writeWebhookSnapshot } from '../../scripts/fetch-openapi.mjs';++const fixtureDirectories: string[] = [];++function createWebhookSpec() {+ return {+ openapi: '3.1.0',+ tags: [{ name: 'Webhook Events' }],+ webhooks: {+ 'composio.test.event': {+ post: {+ operationId: 'composio_test_event',+ tags: ['Webhook Events'],+ requestBody: {+ content: {+ 'application/json': {+ schema: {+ type: 'object',+ properties: { id: { type: 'string' } },+ },+ },+ },+ },+ },+ },+ },+ };+}++function createApiSpec() {+ return {+ openapi: '3.0.0',+ info: { title: 'Fixture', version: '1.0.0' },+ tags: [{ name: 'Public' }, { name: 'x-internal' }],+ paths: {+ '/visible': {+ parameters: [{ name: 'request-id', in: 'header' }],+ get: {+ tags: ['Public', 'Secondary'],+ operationId: 'getV3_1Visible',+ security: [{ CookieAuth: [] }, { ApiKeyAuth: [] }],+ responses: {+ 200: {+ content: {+ 'application/json': {+ schema: { nullable: true },+ },+ },+ },+ },+ },+ },+ '/internal': {+ post: {+ tags: ['x-internal'],+ operationId: 'postV3_1Internal',+ },+ },+ },+ components: {+ securitySchemes: {+ CookieAuth: { type: 'apiKey' },+ ApiKeyAuth: { type: 'apiKey' },+ },+ },+ };+}++afterEach(async () => {+ await Promise.all(fixtureDirectories.splice(0).map(path => rm(path, { recursive: true })));+});++describe('webhook OpenAPI snapshot validation', () => {+ test('writes a valid webhook document', async () => {+ const fixtureDir = await mkdtemp(join(tmpdir(), 'composio-webhook-openapi-'));+ fixtureDirectories.push(fixtureDir);+ const outputPath = join(fixtureDir, 'openapi-webhooks.json');++ expect(writeWebhookSnapshot(createWebhookSpec(), outputPath)).toBe(true);+ expect(JSON.parse(await readFile(outputPath, 'utf-8'))).toEqual(createWebhookSpec());+ });++ test('keeps the last-good snapshot when a webhook entry is incomplete', async () => {+ const fixtureDir = await mkdtemp(join(tmpdir(), 'composio-webhook-openapi-'));+ fixtureDirectories.push(fixtureDir);+ const outputPath = join(fixtureDir, 'openapi-webhooks.json');+ const lastGoodSnapshot = JSON.stringify(createWebhookSpec(), null, 2);+ await writeFile(outputPath, lastGoodSnapshot);++ const warning = spyOn(console, 'warn').mockImplementation(() => {});+ const written = writeWebhookSnapshot(+ {+ openapi: '3.1.0',+ tags: [{ name: 'Webhook Events' }],+ webhooks: { 'composio.test.event': {} },+ },+ outputPath,+ 'https://example.com/openapi-webhooks.json'+ );++ expect(written).toBe(false);+ expect(await readFile(outputPath, 'utf-8')).toBe(lastGoodSnapshot);+ expect(warning).toHaveBeenCalledWith(+ expect.stringContaining('webhooks.composio.test.event.post')+ );+ warning.mockRestore();+ });+});++describe('REST OpenAPI processing', () => {+ test('parses, filters, and normalizes without mutating the response', () => {+ const payload = createApiSpec();+ const { spec, removedCount } = prepareApiSpec(payload, '3.1');+ const operation = spec.paths['/visible'].get;++ expect(removedCount).toBe(1);+ expect(Object.keys(spec.paths)).toEqual(['/visible']);+ expect(spec.paths['/visible'].parameters).toEqual(payload.paths['/visible'].parameters);+ expect(operation.tags).toEqual(['Public']);+ expect(operation.operationId).toBe('getVisible');+ expect(operation['x-api-version']).toBe('3.1');+ expect(operation.security).toEqual([{ ApiKeyAuth: [] }]);+ expect(operation.responses[200].content['application/json'].schema.type).toBe('object');+ expect(spec.tags).toEqual([{ name: 'Public' }]);+ expect(spec.components.securitySchemes.CookieAuth).toBeUndefined();+ expect(spec.servers).toEqual([+ {+ url: 'https://backend.composio.dev',+ description: 'PRODUCTION API',+ },+ ]);+ expect(payload.paths['/visible'].get.operationId).toBe('getV3_1Visible');+ });+});