Sweep Data 360 Orgs API

The Data 360 Orgs API from Sweep — 4 operation(s) for data 360 orgs.

Operations 4

POST /data360-orgs/new Create a new Data 360 org #
GET /data360-orgs/org/{orgId}/salesforce-oauth Get Salesforce OAuth URL with Data 360 scopes #
POST /data360-orgs/salesforce-oauth2-code Exchange OAuth code for tokens #
POST /data360-orgs/{orgId}/complete-connection Complete connection (skip duplicate check) #

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/sweep-data-360-orgs-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

sweep-data-360-orgs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sweep Data 360 Orgs API
  description: This is a publicly available Sweep API.
  version: '0.1'
  contact: {}
servers:
- url: https://api.sweep.io
  description: Sweep production API — the host this document was harvested from (GET /api-json); /health responds here
tags:
- name: Data 360 Orgs
paths:
  /data360-orgs/new:
    post:
      operationId: Data360OrgController_createOrg
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateData360OrgDto'
      responses:
        '201':
          description: Data 360 org created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Data360OrgResponseDto'
      security:
      - bearer: []
      summary: Create a new Data 360 org
      tags:
      - Data 360 Orgs
  /data360-orgs/org/{orgId}/salesforce-oauth:
    get:
      operationId: Data360OrgController_getOAuthUrl
      parameters:
      - name: orgId
        required: true
        in: path
        description: Data 360 Org ID
        schema:
          type: string
      - name: isSandbox
        required: false
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Get Salesforce OAuth URL with Data 360 scopes
      tags:
      - Data 360 Orgs
  /data360-orgs/salesforce-oauth2-code:
    post:
      operationId: Data360OrgController_handleOAuthCode
      parameters:
      - name: skipDuplicateCheck
        required: false
        in: query
        description: Skip duplicate instance URL check (for reconnection)
        schema:
          type: boolean
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Data360OAuthDto'
      responses:
        '201':
          description: ''
      security:
      - bearer: []
      summary: Exchange OAuth code for tokens
      tags:
      - Data 360 Orgs
  /data360-orgs/{orgId}/complete-connection:
    post:
      operationId: Data360OrgController_completeConnection
      parameters:
      - name: orgId
        required: true
        in: path
        description: Data 360 Org ID
        schema:
          type: string
      responses:
        '201':
          description: ''
      security:
      - bearer: []
      summary: Complete connection (skip duplicate check)
      tags:
      - Data 360 Orgs
components:
  schemas:
    Data360OrgResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Org ID
        name:
          type: string
          description: Org name
        instanceUrl:
          type: string
          description: Salesforce instance URL
        tenantUrl:
          type: string
          description: Data 360 tenant URL
        isSandbox:
          type: boolean
          description: Is sandbox org
        isConnected:
          type: boolean
          description: Is org connected
        fetchStatus:
          enum:
          - fetching
          - initial_fetching
          - error
          - fetched
          - invalid_credentials
          type: string
          description: Fetch status
        lastFetchedAt:
          format: date-time
          type: string
          description: Last successful fetch timestamp
        createdAt:
          format: date-time
          type: string
          description: Creation timestamp
        updatedAt:
          format: date-time
          type: string
          description: Last update timestamp
        connectedUser:
          type: string
          description: Connected Salesforce username
        createdById:
          type: string
          description: User ID who created the org
      required:
      - id
      - name
      - isSandbox
      - isConnected
      - createdAt
      - updatedAt
    CreateData360OrgDto:
      type: object
      properties:
        name:
          type: string
          description: Org name
          example: Production Data 360
        isSandbox:
          type: boolean
          description: Is sandbox org
          example: false
      required:
      - name
      - isSandbox
    Data360OAuthDto:
      type: object
      properties:
        orgId:
          type: string
          description: Data 360 Org ID
        authCode:
          type: string
          description: OAuth authorization code
        isSandbox:
          type: boolean
          description: Is sandbox org
          example: false
      required:
      - orgId
      - authCode
      - isSandbox
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http