SPOTIO Documents API

The controller is responsible for handling the upload and retrieval of documents. Documents can be attached to data object, activity or be available company wide.

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 9

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

POST /api/Documents Add a document to a data object · Add a new document for existing dataObject #
Ask an LLM
“How do I attach a new document to a data object?”
“Can I add a document to an activity instead of a data object?”
Tell an agent
Add document {tempTitle} to data object {dataObjectId}.
Attach document {tempTitle} to activity {activityId}.
GET /api/Documents List documents attached to a data object · Get documents for existing dataObject #
Ask an LLM
“Which documents are attached to a particular data object?”
“Can I list documents for a lead or activity?”
Tell an agent
List documents for data object {dataObjectId}.
Show documents attached to lead {leadId}.
GET /api/Documents/paged List documents with pagination · Get documents with pagination #
Ask an LLM
“Can I page through all documents in the company?”
“Which documents were created or updated between two dates?”
Tell an agent
List documents created between {startDate} and {endDate}.
List documents in context {documentContext}.
POST /api/Documents/paged Search documents with a scroll cursor · Get documents with pagination #
Ask an LLM
“How do I fetch the next page of documents after a scroll cursor?”
“Can I filter documents by data object IDs?”
Tell an agent
Get the next page of documents using scroll cursor {scrollId}.
Search documents for data objects {dataObjectIds}.
GET /api/Documents/company List all company-wide documents · Get all company documents #
Ask an LLM
“What documents are available company-wide?”
“Can I see every document in the company?”
Tell an agent
List all company documents.
Show every document shared across the company.
GET /api/Documents/{documentId} Get a document by ID · Get document by id #
Ask an LLM
“How do I fetch one document by its ID?”
“What details are stored for a specific document?”
Tell an agent
Get document {documentId}.
Show the details of document {documentId}.
DELETE /api/Documents/{documentId} Delete a document · Delete existing document by id #
Ask an LLM
“How do I delete a document?”
“Can I remove a company document I no longer need?”
Tell an agent destructive · confirm first
Delete document {documentId}.
Remove the document {documentId} from the company.
GET /api/Documents/{documentId}/url Get a document's download URL · Get document url by id #
Ask an LLM
“Where can I download a document by its ID?”
“Can I get a link to a document's file?”
Tell an agent
Get the download URL for document {documentId}.
Give me a link to download document {documentId}.
PUT /api/Documents/company/{documentId} Update a company document · Update company document #
Ask an LLM
“How do I stop including a company document in AI chat?”
“Can I change whether a company document is included in company docs?”
Tell an agent
Set company document {documentId} include-in-company-docs to {includeInCompanyDocs}.
Update company document {documentId} to include in AI chat: {includeInAiChat}.

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/spotio:spotio-documents-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

spotio-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Spotio 2.0 Documents API
  description: 'The controller is responsible for handling the upload and retrieval of documents.

    Documents can be attached to data object, activity or be available company wide.'
  contact:
    name: Contact us
    url: https://spotio.com/contact/
    email: support@spotio.com
servers:
- url: https://api.spotio2.com
  description: Production
- url: https://app-test.spotio2.com
  description: Test
security:
- Bearer: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/spotio/openapi/spotio-documents-api-openapi.yml