Sweep Templates API

The Templates API from Sweep — 4 operation(s) for templates.

Operations 4

GET /templates Returns all short templates. #
GET /templates/{templateId} #
POST /templates/{funnelMapId} #
POST /templates/{templateId}/convert #

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-templates-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-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sweep Templates 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: Templates
paths:
  /templates:
    get:
      operationId: TemplatesController_getShortTemplates
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
      security:
      - bearer: []
      summary: Returns all short templates.
      tags:
      - Templates
  /templates/{templateId}:
    get:
      operationId: TemplatesController_getTemplate
      parameters:
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Templates
  /templates/{funnelMapId}:
    post:
      operationId: TemplatesController_funnelMapToTemplate
      parameters:
      - name: funnelMapId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTemplateDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Templates
  /templates/{templateId}/convert:
    post:
      operationId: TemplatesController_convertTemplate
      parameters:
      - name: templateId
        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/ConvertTemplateDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer: []
      tags:
      - Templates
components:
  schemas:
    CreateTemplateDto:
      type: object
      properties:
        description:
          type: string
        imageUrl:
          type: string
          format: uri
      required:
      - description
      - imageUrl
    ConvertTemplateDto:
      type: object
      properties:
        fieldMapping:
          type: array
          items:
            $ref: '#/components/schemas/FieldMappingDto'
      required:
      - fieldMapping
    FieldMappingDto:
      type: object
      properties:
        fromTemplateFieldId:
          type: string
        toSweepFieldId:
          type: string
      required:
      - fromTemplateFieldId
      - toSweepFieldId
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http