Close Files API

The files API from Close — 1 operation(s) for files.

Operations 1

POST /files/upload/ Generate a signed S3 POST #

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/close-files-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

close-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Close CRM REST API
  title: Close Files API
  version: 1.0.0
servers:
- url: https://api.close.com/api/v1
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: files
  externalDocs:
    url: https://developer.close.com/api/resources/files
paths:
  /files/upload/:
    post:
      operationId: files_create
      tags:
      - files
      summary: Generate a signed S3 POST
      description: Get the data needed to make a request to S3 to store your file.
      requestBody:
        content:
          application/json:
            example:
              content_type: image/jpeg
              filename: image.jpg
            schema:
              $ref: '#/components/schemas/UploadFile'
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                download:
                  url: https://app.close.com/go/file/temporary/user_Ova4RGFG7pztSeJiiMFdN7O2MFl71nD0uGO3bIOo4Wk/1Zx0AlY1DwBXzKKrVwpAoj/image.jpg/
                upload:
                  fields:
                    AWSAccessKeyId: AKIAACCESSKEYHERE
                    Content-Disposition: inline; filename="image.jpg"
                    Content-Type: image/jpeg
                    key: temporary/user/user_Ova4RGFG7pztSeJiiMFdN7O2MFl71nD0uGO3bIOo4Wk/1Zx0AlY1DwBXzKKrVwpAoj/image.jpg
                    policy: eyJleHBpcmF0aW9uIjogIjIwMjQtMDItMjJ...
                    signature: ePInTgHEBsj0hzMeif/d0U2FQQk=
                    success_action_status: '201'
                  url: https://close-prd-files.s3.amazonaws.com/
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
components:
  schemas:
    UploadFile:
      title: UploadFile
      type: object
      properties:
        content_type:
          title: Content Type
          type: string
        filename:
          title: Filename
          type: string
      required:
      - content_type
      - filename
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      description: Use your API key as the username and leave the password empty.
      scheme: basic
      type: http
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://app.close.com/oauth2/authorize/
          scopes:
            all.full_access: Full access to all resources
            offline_access: Request a refresh token
          tokenUrl: https://api.close.com/oauth2/token/
      type: oauth2