StackOne Connect Sessions API

The Connect Sessions API from StackOne — 2 operation(s) for connect sessions.

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/stackone-connect-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

stackone-connect-sessions-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Marketing Accounts Connect Sessions API
  description: The documentation for the StackOne Unified API - MARKETING
  contact: {}
  version: 1.0.0
servers:
- url: https://api.stackone.com
tags:
- name: Connect Sessions
paths:
  /connect_sessions/authenticate:
    post:
      tags:
      - Connect Sessions
      summary: Authenticate Connect Session
      operationId: stackone_authenticate_connect_session
      requestBody:
        description: The parameters to authenticate
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectSessionAuthenticate'
        required: true
      responses:
        '429':
          description: Too many requests.
        '500':
          description: Server error while executing the request.
        '501':
          description: This functionality is not implemented.
        '201':
          description: The details of the authenticated connect session.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectSession'
        '400':
          description: Invalid request.
        '403':
          description: Forbidden.
      security:
      - basic: []
      x-speakeasy-name-override: authenticate_connect_session
  /connect_sessions:
    post:
      tags:
      - Connect Sessions
      summary: Create Connect Session
      operationId: stackone_create_connect_session
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectSessionCreate'
        required: true
      responses:
        '501':
          description: This functionality is not implemented.
        '201':
          description: The details of the connect session created with token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectSessionToken'
        '400':
          description: Invalid request.
        '403':
          description: Forbidden.
        '429':
          description: Too many requests.
        '500':
          description: Server error while executing the request.
      security:
      - basic: []
      x-speakeasy-name-override: create_connect_session
components:
  schemas:
    ConnectSessionToken:
      type: object
      properties:
        token:
          type: string
        organization_id:
          type: string
        provider:
          type: string
        origin_owner_id:
          type: string
        project_id:
          type: string
        origin_owner_name:
          type: string
        id:
          type: string
        categories:
          type: array
          items:
            type: string
            enum:
            - ats
            - hris
            - hris-legacy
            - crm
            - marketing
            - stackone
          example:
          - ats
          - hris
          - hrisLegacy
          - crm
          - marketing
          - stackOne
        origin_username:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - id
      - organization_id
      - project_id
      - provider
      - origin_owner_id
      - origin_owner_name
      - created_at
      - token
    ConnectSessionCreate:
      type: object
      properties:
        expires_in:
          type: number
          description: How long the session should be valid for in seconds
          default: 1800
        metadata:
          type: object
          description: The metadata for the connection
        categories:
          type: array
          items:
            type: string
            enum:
            - ats
            - hris
            - hris-legacy
            - crm
            - marketing
            - stackone
          description: The categories of the provider to connect to
          example:
          - ats
          - hris
          - hrisLegacy
          - crm
          - marketing
          - stackOne
        provider:
          type: string
          description: The provider to connect to
        origin_owner_id:
          type: string
          description: The origin owner identifier
        origin_owner_name:
          type: string
          description: The origin owner name
        origin_username:
          type: string
          description: The origin username
      required:
      - origin_owner_id
      - origin_owner_name
    ConnectSessionAuthenticate:
      type: object
      properties:
        token:
          type: string
          description: The token to authenticate with
      required:
      - token
    ConnectSession:
      type: object
      properties:
        provider:
          type: string
        created_at:
          type: string
          format: date-time
        categories:
          type: array
          items:
            type: string
            enum:
            - ats
            - hris
            - hris-legacy
            - crm
            - marketing
            - stackone
          example:
          - ats
          - hris
          - hrisLegacy
          - crm
          - marketing
          - stackOne
        id:
          type: string
        organization_id:
          type: string
        origin_owner_name:
          type: string
        origin_owner_id:
          type: string
        project_id:
          type: string
        origin_username:
          type: string
      required:
      - id
      - organization_id
      - project_id
      - provider
      - origin_owner_id
      - origin_owner_name
      - created_at
  securitySchemes:
    basic:
      type: http
      scheme: basic