Notifly · Schema

GenerateChatOauthUrlRequestDto

NotificationMessagingMulti-ChannelSoftware-as-a-Service

Properties

Name Type Description
subscriberId string The subscriber ID to link the channel connection to. For Slack: Required for incoming webhook endpoints, optional for workspace connections. For MS Teams: Optional. Admin consent is tenant-wide and ca
integrationIdentifier string Integration identifier
connectionIdentifier string Identifier of the channel connection that will be created. It is generated automatically if not provided.
context object
scope array **Slack only**: OAuth scopes to request during authorization. These define the permissions your Slack integration will have. If not specified, default scopes will be used: chat:write, chat:write.publi
userScope array **Slack only, link_user mode**: User-level OAuth scopes to request during authorization. Used when mode is "link_user" to identify the Slack user via "Sign in with Slack". If not specified, defaults t
mode string OAuth flow mode. Use "connect" (default) to create a workspace channel connection, or "link_user" to identify the subscriber's Slack user ID without creating a connection.
connectionMode string Connection mode that determines how the channel connection is scoped. Use "subscriber" (default) to associate the connection with a specific subscriber. Use "shared" to associate the connection with a
autoLinkUser boolean When true, after the workspace/tenant connection is created the OAuth flow also links the subscriber who clicked "Connect" as a personal endpoint. For Slack, this uses the authed_user.id already retur
View JSON Schema on GitHub

JSON Schema

notifly-io-generate-chat-oauth-url-request-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/notifly-io/json-schema/notifly-io-generate-chat-oauth-url-request-dto-schema.json",
  "title": "GenerateChatOauthUrlRequestDto",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notifly-io-openapi.yml#/components/schemas/GenerateChatOauthUrlRequestDto",
  "type": "object",
  "properties": {
    "subscriberId": {
      "type": "string",
      "description": "The subscriber ID to link the channel connection to. For Slack: Required for incoming webhook endpoints, optional for workspace connections. For MS Teams: Optional. Admin consent is tenant-wide and can be associated with a subscriber for organizational purposes."
    },
    "integrationIdentifier": {
      "type": "string",
      "description": "Integration identifier"
    },
    "connectionIdentifier": {
      "type": "string",
      "description": "Identifier of the channel connection that will be created. It is generated automatically if not provided."
    },
    "context": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string",
            "description": "Simple context id"
          },
          {
            "type": "object",
            "description": "Rich context object with id and optional data",
            "properties": {
              "id": {
                "type": "string"
              },
              "data": {
                "type": "object",
                "description": "Optional additional context data",
                "additionalProperties": true
              }
            },
            "required": [
              "id"
            ]
          }
        ]
      }
    },
    "scope": {
      "description": "**Slack only**: OAuth scopes to request during authorization. These define the permissions your Slack integration will have. If not specified, default scopes will be used: chat:write, chat:write.public, channels:read, groups:read, users:read, users:read.email. **Webex**: OAuth scopes to request during authorization. Defaults to: spark:messages_write, spark:rooms_read, spark:people_read, spark:memberships_read, spark:kms. **MS Teams**: This parameter is ignored. MS Teams uses admin consent with pre-configured permissions in Azure AD. Note: The generated OAuth URL expires after 5 minutes.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "userScope": {
      "description": "**Slack only, link_user mode**: User-level OAuth scopes to request during authorization. Used when mode is \"link_user\" to identify the Slack user via \"Sign in with Slack\". If not specified, defaults to: identity.basic.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mode": {
      "enum": [
        "connect",
        "link_user"
      ],
      "type": "string",
      "description": "OAuth flow mode. Use \"connect\" (default) to create a workspace channel connection, or \"link_user\" to identify the subscriber's Slack user ID without creating a connection."
    },
    "connectionMode": {
      "enum": [
        "subscriber",
        "shared"
      ],
      "type": "string",
      "description": "Connection mode that determines how the channel connection is scoped. Use \"subscriber\" (default) to associate the connection with a specific subscriber. Use \"shared\" to associate the connection with a context instead of a subscriber — subscriberId will not be stored on the connection."
    },
    "autoLinkUser": {
      "type": "boolean",
      "description": "When true, after the workspace/tenant connection is created the OAuth flow also links the subscriber who clicked \"Connect\" as a personal endpoint. For Slack, this uses the authed_user.id already returned by oauth.v2.access — no extra redirect. For Webex, this uses the authenticated Webex person returned by people/me — no extra redirect. For MS Teams, this triggers a second OAuth redirect for delegated user-identity consent. Defaults to false when omitted; the SlackConnectButton and MsTeamsConnectButton SDK components default this to true."
    }
  },
  "required": [
    "integrationIdentifier"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/notifly-io-generate-chat-oauth-url-request-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.