Switch Labs Attachments API

The Attachments API from Switch Labs — 2 operation(s) for attachments.

Operations 4

GET /attachments List attachments #
POST /attachments Create attachment metadata #
GET /attachments/{id} Get attachment #
DELETE /attachments/{id} Delete attachment #

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/switchlabs:switchlabs-attachments-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

switchlabs-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Relay External REST Attachments API
  version: 1.1.0
  description: REST API for programmatic access to Relay CRM resources.
servers:
- url: https://your-domain.com/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Attachments
paths:
  /attachments:
    get:
      summary: List attachments
      tags:
      - Attachments
      parameters:
      - name: limit
        in: query
        description: Max results to return (default 50, max 100).
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        description: Cursor for pagination (ISO date string).
        schema:
          type: string
      - name: offset
        in: query
        description: Optional offset for pagination (not used by all endpoints).
        schema:
          type: integer
          minimum: 0
      - name: ticket_id
        in: query
        schema:
          type: string
          format: uuid
      - name: conversation_id
        in: query
        schema:
          type: string
          format: uuid
      responses:
        '501':
          description: Not implemented (endpoint retired)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
      description: 'Deprecated and not available: every method returns 501 NOT_IMPLEMENTED. Upload attachments from the Relay dashboard or mobile app; attachment metadata is returned with ticket conversations.'
      operationId: getAttachments
      x-operation-id-source: derived
    post:
      summary: Create attachment metadata
      tags:
      - Attachments
      responses:
        '501':
          description: Not implemented (endpoint retired)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
      description: 'Deprecated and not available: every method returns 501 NOT_IMPLEMENTED. Upload attachments from the Relay dashboard or mobile app; attachment metadata is returned with ticket conversations.'
      operationId: postAttachments
      x-operation-id-source: derived
  /attachments/{id}:
    get:
      summary: Get attachment
      tags:
      - Attachments
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '501':
          description: Not implemented (endpoint retired)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
      description: 'Deprecated and not available: every method returns 501 NOT_IMPLEMENTED. Upload attachments from the Relay dashboard or mobile app; attachment metadata is returned with ticket conversations.'
      operationId: getAttachmentsById
      x-operation-id-source: derived
    delete:
      summary: Delete attachment
      tags:
      - Attachments
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '501':
          description: Not implemented (endpoint retired)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
      description: 'Deprecated and not available: every method returns 501 NOT_IMPLEMENTED. Upload attachments from the Relay dashboard or mobile app; attachment metadata is returned with ticket conversations.'
      operationId: deleteAttachmentsById
      x-operation-id-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          required:
          - code
          - message
      required:
      - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key