Switch Labs Attachments API

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

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /attachments List attachments (deprecated) · List attachments #
Ask an LLM
“Can I list attachments through the API?”
“Is the attachments list endpoint still implemented?”
Tell an agent
List attachments for ticket {ticket_id}.
Show attachments on conversation {conversation_id}.
POST /attachments Create attachment metadata (deprecated) · Create attachment metadata #
Ask an LLM
“Can I create attachment metadata through the API?”
“Is the attachments create endpoint implemented?”
Tell an agent
Create attachment metadata.
Add a new attachment record.
GET /attachments/{id} Get an attachment (deprecated) · Get attachment #
Ask an LLM
“Can I fetch one attachment by ID?”
“Is the single attachment lookup endpoint available?”
Tell an agent
Get attachment {id}.
Show the metadata of attachment {id}.
DELETE /attachments/{id} Delete an attachment (deprecated) · Delete attachment #
Ask an LLM
“Can I delete an attachment through the API?”
“Is the attachments delete endpoint implemented?”
Tell an agent destructive · confirm first
Delete attachment {id}.
Remove attachment {id} from the system.

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"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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