Snapvisor Integrations API

List, connect, check and disconnect the services an account uses: GitHub, GitLab, Cursor Origin, Slack, Discord, Microsoft Teams, and your own sign-in identities.

GitHub OpenAPI

Operations 7

POST /accounts/{accountSlug}/webhooks/discord Add a Discord webhook #
POST /accounts/{accountSlug}/webhooks/msteams Add a Microsoft Teams webhook #
PUT /accounts/{accountSlug}/gitlab-token Save a GitLab access token #
GET /accounts/{accountSlug}/connections List connected services #
POST /accounts/{accountSlug}/connections/disconnect Disconnect a service #
POST /accounts/{accountSlug}/connections/reverify Check a connection #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snapvisor-io:snapvisor-io-integrations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

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.

OpenAPI Specification

snapvisor-io-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snapvisor Integrations API
  version: 2.0.0
  contact:
    name: Snapvisor Support
    url: https://snapvisor.io
    email: support@snapvisor.io
  termsOfService: https://snapvisor.io/terms
  description: 'List, connect, check and disconnect the services an account uses: GitHub, GitLab, Cursor Origin, Slack, Discord, Microsoft Teams, and your own sign-in identities.'
servers:
- url: https://api.snapvisor.io/v2
  description: API Endpoint
security:
- projectToken: []
tags:
- name: Integrations
  description: 'List, connect, check and disconnect the services an account uses: GitHub, GitLab, Cursor Origin, Slack, Discord, Microsoft Teams, and your own sign-in identities.'
  x-page-icon: plug
paths:
  /accounts/{accountSlug}/webhooks/discord:
    post:
      operationId: createDiscordWebhook
      x-mcp:
        covers:
        - graphql:createDiscordWebhook
      summary: Add a Discord webhook
      description: Post Snapvisor build and review notifications to a Discord channel through its webhook URL (Channel settings, Integrations, Webhooks). Requires administrator access to the account. Use it when the user wants notifications in Discord.
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - account:admin
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: Label shown in Snapvisor, e.g. the channel name.
                url:
                  type: string
                  format: uri
                  description: The webhook URL the service gave you.
              required:
              - name
              - url
      responses:
        '201':
          description: Webhook added (its URL is a secret and never returned)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatWebhook'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/webhooks/msteams:
    post:
      operationId: createMsTeamsWebhook
      x-mcp:
        covers:
        - graphql:createMsTeamsWebhook
      summary: Add a Microsoft Teams webhook
      description: Post Snapvisor build and review notifications to a Microsoft Teams channel through its incoming webhook or Workflows URL. Requires administrator access to the account. Use it when the user wants notifications in Microsoft Teams.
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - account:admin
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: Label shown in Snapvisor, e.g. the channel name.
                url:
                  type: string
                  format: uri
                  description: The webhook URL the service gave you.
              required:
              - name
              - url
      responses:
        '201':
          description: Webhook added (its URL is a secret and never returned)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatWebhook'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/gitlab-token:
    put:
      operationId: setGitlabAccessToken
      x-mcp:
        covers:
        - graphql:updateAccount.gitlabAccessToken
      summary: Save a GitLab access token
      description: Save the GitLab personal access token (with the api scope) Snapvisor uses to list, import and report on the account's GitLab projects; it is checked with GitLab first. Requires administrator access to the account. Use it before listGitlabProjects when the account has none.
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - account:admin
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  minLength: 1
                  maxLength: 255
              required:
              - token
      responses:
        '200':
          description: Saved
          content:
            application/json:
              schema:
                type: object
                properties:
                  saved:
                    type: boolean
                    const: true
                required:
                - saved
                additionalProperties: false
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/connections:
    get:
      operationId: listConnections
      x-mcp:
        name: list_connections
      summary: List connected services
      description: 'List an account''s connections: GitHub, GitLab, Cursor Origin, and on teams Slack, Discord and Microsoft Teams. On your personal account it also lists your sign-in identities and passkeys. Use it before disconnect or reverify, or when a notification or repository link does not work.'
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - profile
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
          description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
        required: true
        description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
      responses:
        '200':
          description: Connections
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Connection'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/connections/links:
    post:
      operationId: getConnectLinks
      x-mcp:
        name: get_connect_links
        covers:
        - express:GET /auth/slack/login
        - graphql:createPasskeyRegistrationOptions
        - graphql:registerPasskey
      summary: Get links to connect services
      description: Get one single-use link (15 minutes) per provider; it opens the provider's own authorization page, signed in as you, for this account. Omit providers for every provider not connected yet. Discord and Microsoft Teams connect by webhook URL instead (createDiscordWebhook, createMsTeamsWebhook). Use it when the user wants to connect a service, or to reach a GitHub App's settings to uninstall it.
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
          description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
        required: true
        description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                providers:
                  minItems: 1
                  type: array
                  items:
                    type: string
                    enum:
                    - github_app
                    - github_light
                    - gitlab
                    - origin
                    - slack
                    - github_login
                    - gitlab_login
                    - google_login
                    - apple_login
                    - passkey
      responses:
        '200':
          description: Links
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    provider:
                      type: string
                      enum:
                      - github_app
                      - github_light
                      - gitlab
                      - origin
                      - slack
                      - discord
                      - msteams
                      - github_login
                      - gitlab_login
                      - google_login
                      - apple_login
                      - passkey
                      description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
                    url:
                      type: string
                    expires_in:
                      type: number
                    what:
                      type: string
                  required:
                  - provider
                  - url
                  - expires_in
                  - what
                  additionalProperties: false
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/connections/disconnect:
    post:
      operationId: disconnect
      x-mcp:
        name: disconnect
        covers:
        - graphql:uninstallSlack
        - graphql:disconnectGitHubAuth
        - graphql:disconnectGitLabAuth
        - graphql:disconnectGoogleAuth
        - graphql:disconnectAppleAuth
        - graphql:deleteDiscordWebhook
        - graphql:deleteMsTeamsWebhook
        - graphql:deletePasskey
      summary: Disconnect a service
      description: 'Disconnect one service from an account: Slack, a Discord or Microsoft Teams webhook, GitLab, or one of your own sign-in identities or passkeys. GitHub Apps and Cursor Origin are uninstalled on the provider''s side. Asks for confirmation once (confirmToken). Use it when the user wants to stop notifications to a channel or remove a login.'
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
          description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
        required: true
        description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                provider:
                  type: string
                  enum:
                  - github_app
                  - github_light
                  - gitlab
                  - origin
                  - slack
                  - discord
                  - msteams
                  - github_login
                  - gitlab_login
                  - google_login
                  - apple_login
                  - passkey
                  description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
                connectionId:
                  description: Required for discord, msteams and passkey.
                  type: string
              required:
              - provider
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                type: object
                properties:
                  provider:
                    type: string
                    enum:
                    - github_app
                    - github_light
                    - gitlab
                    - origin
                    - slack
                    - discord
                    - msteams
                    - github_login
                    - gitlab_login
                    - google_login
                    - apple_login
                    - passkey
                    description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
                  disconnected:
                    type: boolean
                    const: true
                required:
                - provider
                - disconnected
                additionalProperties: false
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
  /accounts/{accountSlug}/connections/reverify:
    post:
      operationId: reverify
      x-mcp:
        name: reverify
        covers:
        - graphql:testDiscordWebhook
        - graphql:testMsTeamsWebhook
        - graphql:syncOriginInstallation
      summary: Check a connection
      description: 'Check that a connection still works: a Discord or Microsoft Teams webhook gets a test message, Slack, GitLab and the GitHub light app are asked with the stored credentials, and Cursor Origin is re-synced. Returns ok and what was found. Use it when notifications stop arriving or a repository stops syncing.'
      tags:
      - Integrations
      security:
      - personalAccessToken: []
      - oauth2:
        - connections:manage
      parameters:
      - in: path
        name: accountSlug
        schema:
          type: string
          minLength: 1
          description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
        required: true
        description: Slug of the account. Your own sign-in identities and passkeys are on your personal account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                provider:
                  type: string
                  enum:
                  - github_app
                  - github_light
                  - gitlab
                  - origin
                  - slack
                  - discord
                  - msteams
                  - github_login
                  - gitlab_login
                  - google_login
                  - apple_login
                  - passkey
                  description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
                connectionId:
                  description: Required for discord, msteams and passkey.
                  type: string
              required:
              - provider
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
                properties:
                  provider:
                    type: string
                    enum:
                    - github_app
                    - github_light
                    - gitlab
                    - origin
                    - slack
                    - discord
                    - msteams
                    - github_login
                    - gitlab_login
                    - google_login
                    - apple_login
                    - passkey
                    description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
                  ok:
                    type: boolean
                  detail:
                    type: string
                required:
                - provider
                - ok
                - detail
                additionalProperties: false
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-gitbook-mcp: true
components:
  schemas:
    Connection:
      type: object
      properties:
        provider:
          type: string
          enum:
          - github_app
          - github_light
          - gitlab
          - origin
          - slack
          - discord
          - msteams
          - github_login
          - gitlab_login
          - google_login
          - apple_login
          - passkey
          description: github_app (repositories), github_light (GitHub without content access), gitlab, origin, slack, discord, msteams, or your own github_login, gitlab_login, google_login, apple_login and passkey.
        status:
          type: string
          enum:
          - connected
          - not_connected
        connectionId:
          description: The id to pass to disconnect or reverify for discord, msteams and passkey.
          type:
          - string
          - 'null'
        label:
          type:
          - string
          - 'null'
        connectedAt:
          anyOf:
          - type: string
            format: date-time
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          - type: 'null'
      required:
      - provider
      - status
      - connectionId
      - label
      - connectedAt
      additionalProperties: false
    ChatWebhook:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        createdAt:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
      required:
      - id
      - name
      - createdAt
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
            - message
            additionalProperties: false
      required:
      - error
      additionalProperties: false
      description: Error response
  securitySchemes:
    projectToken:
      type: http
      scheme: bearer
      bearerFormat: Project Token
      description: 'Authenticate as a **project** with a project token.


        Send it as a bearer token in the `Authorization` header:


        ```http

        Authorization: Bearer <project-token>

        ```


        You can find your project token in your Snapvisor project settings.

        Project tokens are used by CI and the SDK to create builds and

        deployments.'
    personalAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Personal Access Token
      description: 'Authenticate as a **user** with a personal access token.


        Send it as a bearer token in the `Authorization` header:


        ```http

        Authorization: Bearer <personal-access-token>

        ```


        Personal access tokens act on behalf of the user that created them

        and are required by endpoints that perform user actions, such as

        reviewing builds and posting comments.'
    oauth2:
      type: oauth2
      description: 'Authenticate as a **user** via an OAuth 2.1 access token obtained

        through the authorization-code (+ PKCE) flow. Used by the CLI and by

        MCP clients/agents. The token acts on behalf of the authorizing user,

        limited to the granted scopes and organizations.'
      flows:
        authorizationCode:
          authorizationUrl: https://app.snapvisor.io/oauth/authorize
          tokenUrl: https://app.snapvisor.io/oauth/token
          refreshUrl: https://app.snapvisor.io/oauth/token
          scopes:
            profile: Read your Snapvisor profile and the list of teams you belong to.
            projects:read: Read your projects, builds, screenshots, diffs, tests, and analytics.
            projects:write: Create and configure projects and their settings.
            builds:write: Create and upload builds and screenshots.
            reviews:write: Approve, reject, or dismiss build reviews and ignore changes.
            comments:read: Read build comments and threads.
            comments:write: Post, edit, and delete comments, add reactions, and manage subscriptions.
            media:read: Read the images and videos uploaded to your teams.
            media:write: Upload images and videos, and delete the ones already uploaded.
            account:admin: Manage organization settings and members.
            data:delete: Delete projects, media and comments, transfer projects and remove contributors. Each deletion is confirmed once by the agent.
            billing:manage: Start a checkout, open the billing portal, cancel, resume or refund a team subscription, and set spend limits.
            account:manage: Edit your profile, emails, notification preferences, sessions and passkeys, export your data, and delete your account.
            connections:manage: Connect, verify and disconnect GitHub, GitLab, Slack, Discord and Microsoft Teams, and link repositories to projects.
            support:write: Open support requests on your behalf.
            keys:manage: Create, rotate and revoke personal access tokens, project upload tokens and authorized apps.
externalDocs:
  description: Snapvisor API reference
  url: https://snapvisor.io/docs/api-reference
x-gitbook-mcp-url: https://mcp.snapvisor.io