Sweep Sweep Fields API

The Sweep Fields API from Sweep — 4 operation(s) for sweep fields.

Operations 5

GET /sweep_fields #
POST /sweep_fields #
GET /sweep_fields/ids-by-names #
GET /sweep_fields/{id} #
PUT /sweep_fields/{fieldId} #

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-sweep-fields-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-sweep-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sweep Fields 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: Sweep Fields
paths:
  /sweep_fields:
    get:
      operationId: SweepFieldsController_getSweepFields
      parameters:
      - name: objectType
        required: true
        in: query
        schema:
          type: array
          items:
            type: string
      - name: fieldIds
        required: true
        in: query
        schema:
          type: array
          items:
            type: string
      - name: includeSiblings
        required: true
        in: query
        schema:
          type: boolean
      - name: detectLeadingCandidates
        required: true
        in: query
        schema:
          type: boolean
      - name: includeDescriptionValueSetNameRequired
        required: true
        in: query
        schema:
          type: boolean
      - name: typeGroups
        required: true
        in: query
        schema:
          type: array
          items:
            type: string
      - name: crmOrgId
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Sweep Fields
    post:
      operationId: SweepFieldsController_createSweepField
      parameters:
      - name: crmOrgId
        required: true
        in: query
        schema:
          type: string
      - name: draft
        required: true
        in: query
        schema:
          type: boolean
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SweepFieldBaseDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Sweep Fields
  /sweep_fields/ids-by-names:
    get:
      operationId: SweepFieldsController_getSweepFieldIdsByApiName
      parameters:
      - name: fieldNames
        required: true
        in: query
        schema:
          type: array
          items:
            type: string
      - name: crmOrgId
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldIdsDto'
      security:
      - bearer: []
      tags:
      - Sweep Fields
  /sweep_fields/{id}:
    get:
      operationId: SweepFieldsController_getSweepField
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: includeReadOnly
        required: true
        in: query
        schema:
          type: boolean
      - name: crmOrgId
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      tags:
      - Sweep Fields
  /sweep_fields/{fieldId}:
    put:
      operationId: SweepFieldsController_updateSweepFields
      parameters:
      - name: fieldId
        required: true
        in: path
        schema:
          type: string
      - name: crmOrgId
        required: true
        in: query
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FieldUpdateDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Sweep Fields
components:
  schemas:
    FieldUpdateDto:
      type: object
      properties:
        field:
          $ref: '#/components/schemas/SweepFieldBaseDto'
        enableDeduceValuesOrder:
          type: boolean
      required:
      - field
    SweepFieldBaseDto:
      type: object
      properties:
        id:
          type: string
        objectName:
          type: string
        sweepFieldName:
          type: string
        sfFieldName:
          type: string
        fieldType:
          type: string
          enum:
          - Id
          - Address
          - AutoNumber
          - Checkbox
          - Currency
          - Date
          - DateTime
          - Email
          - Html
          - EncryptedText
          - Geolocation
          - Hierarchy
          - LongTextArea
          - Lookup
          - MasterDetail
          - MultiselectPicklist
          - Name
          - Name2
          - Number
          - Percent
          - Phone
          - Picklist
          - Summary
          - Text
          - TextArea
          - Time
          - Unknown
          - Url
          - FormulaCheckbox
          - FormulaCurrency
          - FormulaDate
          - FormulaDateTime
          - FormulaNumber
          - FormulaPercent
          - FormulaText
          - FormulaTime
          - Combobox
        compoundFieldId:
          type: string
        isCompound:
          type: boolean
        properties:
          type: object
        origin:
          type: string
          enum:
          - SF_STANDARD
          - SF_CUSTOM
          - SWEEP_CUSTOM
          - MP_CUSTOM
        isRequired:
          type: boolean
        isCreatedInSweep:
          type: boolean
        helpText:
          type: string
        description:
          type: string
        pinToFunnelMap:
          type: string
        sfDisplayType:
          type: string
          enum:
          - ADDRESS
          - BOOLEAN
          - CURRENCY
          - DATE
          - DATETIME
          - EMAIL
          - GEOLOCATION
          - TEXTAREA
          - LONGTEXTAREA
          - REFERENCE
          - MULTIPICKLIST
          - NUMBER
          - PERCENT
          - PHONE
          - PICKLIST
          - COMBOBOX
          - STRING
          - TIME
          - URL
          - INTEGER
          - DOUBLE
          - ID
          - ENCRYPTEDSTRING
          - Unknown
      required:
      - objectName
      - sweepFieldName
      - fieldType
      - properties
    FieldIdsDto:
      type: object
      properties:
        fieldIds:
          type: array
          items:
            required: true
            type: array
            items:
              type: string
      required:
      - fieldIds
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http