HummingDeck Views API
The Views API from HummingDeck — 1 operation(s) for views.
The Views API from HummingDeck — 1 operation(s) for views.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/hummingdeck:hummingdeck-views-api"
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.
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: 3.2.0
info:
title: HummingDeck Views API
version: 1.12.0
description: 'The HummingDeck API. Provides document search, upload and replacement, room creation and structure (tabs, documents, links, embeds, sections), room archive and restore, document and room share link management, company/contact find-or-create operations, view and decision events, and webhooks for the Zapier integration.
Two credential types are accepted, and they are not interchangeable:
**Workspace API key** (`Authorization: Bearer hd_api_...`): issued by a workspace owner or admin in Workspace settings, Integrations, HummingDeck API. REST API access is available by request on Business and is enabled per workspace after review. A workspace can have multiple named keys, each with an explicit set of scopes and independent revocation. Each write scope includes the matching read scope; read scopes do not grant write access. The raw key is shown once at creation and is not retrievable afterwards; it expires one year after creation. Every key is bound permanently to its workspace, so a request cannot select or override its workspace. Webhook subscription endpoints are not available to this credential.
**Zapier OAuth** (`Authorization: Bearer {access_token}`): issued through the OAuth authorization flow when a workspace connects the Zapier integration. Access tokens expire after 30 days; the 90-day refresh token obtains a new one. This is the only credential that can create or delete webhook subscriptions.
Each operation documents its primary always-required workspace-key capability in `x-required-api-key-scope`. Additional always-required capabilities appear in `x-additional-required-api-key-scopes`; body-dependent capabilities appear in `x-conditional-api-key-scopes`, keyed by scope with the exact trigger as its value. `GET /me` requires no scope. A valid key that lacks a required capability receives `403 INSUFFICIENT_SCOPE`; the response names `requiredScope`.
Manual keys and Zapier OAuth connections are limited per credential to 600 reads per 5 minutes, 120 writes per minute, 60 room-view reads per minute, and 20 uploads per hour. Shared workspace ceilings are twice those values across all credentials. Failed bearer authentication and invalid OAuth client authentication are each limited per trusted client IP to 60 attempts per 5 minutes. Requests may receive `429 RATE_LIMITED`; use the delta seconds in `Retry-After` before retrying. Rooms API JSON bodies are limited to 262,144 bytes; company, contact, share, and webhook JSON bodies are limited to 32,768 bytes; and document-upload and replacement multipart requests are limited to 32,505,856 bytes, including at most a 30 MiB file. Oversized bodies return `413 PAYLOAD_TOO_LARGE` before structured parsing.
A request is rejected with 401 when the token is unknown or malformed, has expired, has been switched off, belongs to a workspace whose API access was turned off, or was issued by someone who is no longer an owner or admin of that workspace.'
contact:
name: HummingDeck Support
url: https://hummingdeck.com
email: support@hummingdeck.com
servers:
- url: https://app.hummingdeck.com/api/v1
description: Production
security:
- apiToken: []
- oauth2: []
tags:
- name: Views
paths:
/views:
get:
summary: List recent document views
description: Returns recent document views for the authenticated team. Used by Zapier as a polling fallback during Zap testing. Returns up to 100 results in reverse chronological order. Bot views are excluded.
operationId: listViews
x-required-api-key-scope: analytics:read
responses:
'200':
description: List of recent views
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DocumentView'
'401':
description: Not authenticated
'403':
$ref: '#/components/responses/InsufficientScope'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalServerError'
tags:
- Views
components:
responses:
InternalServerError:
description: The request failed unexpectedly. The response is deliberately bounded and never includes internal error details.
content:
application/json:
schema:
type: object
properties:
error:
type: string
const: Internal server error
required:
- error
additionalProperties: false
InsufficientScope:
description: The authenticated workspace API key lacks a scope required by this operation (INSUFFICIENT_SCOPE).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded. Retry after the number of seconds in Retry-After.
headers:
Retry-After:
required: true
schema:
type: integer
minimum: 1
description: Seconds until the current fixed window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable code, present on some errors
enum:
- PLAN_LIMIT_REACHED
- VALIDATION_ERROR
- NOT_FOUND
- ROOM_NOT_ACTIVE
- ACCOUNT_CONFLICT
- CREDENTIAL_NOT_ALLOWED
- INSUFFICIENT_SCOPE
- RATE_LIMITED
- PAYLOAD_TOO_LARGE
- INVALID_FORMAT
- TYPE_MISMATCH
- FILE_READ_ERROR
- FILE_TOO_LARGE
- FEATURE_NOT_AVAILABLE
- PROPOSAL_LOCKED
- REPLACEMENT_CONFLICT
- TAB_TYPE_CONFLICT
- LAST_TAB
- TAB_NOT_EMPTY
- TASK_BLOCKED
- TASK_HIERARCHY_CYCLE
- LEGACY_MAPPING_UNSUPPORTED
- LABEL_NAME_CONFLICT
- EMBED_PROVIDER_NOT_SUPPORTED
kind:
type: string
enum:
- room
- docPerRoom
- linksPerRoom
- htmlBundle
description: 'With PLAN_LIMIT_REACHED: the room limit or HTML bundle preview entitlement that blocked the request.'
limit:
type: integer
description: 'With PLAN_LIMIT_REACHED on room endpoints: the plan''s limit.'
feature:
type: string
enum:
- restrictedAccess
- emailCapture
- linkExpiration
- downloadControl
- roomDiscussions
description: 'With FEATURE_NOT_AVAILABLE: the plan feature the request needs.'
requiredScope:
type: string
enum:
- rooms:read
- rooms:write
- plan:read
- plan:write
- analytics:read
- crm:read
- crm:write
- documents:read
- documents:write
description: 'With INSUFFICIENT_SCOPE: the capability the API key must be granted.'
required:
- error
DocumentView:
type: object
properties:
viewId:
type: string
description: Unique identifier for this view session
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
shareSlug:
type: string
description: Slug of the share link that was viewed
example: kry377wf7gb7i2pt
viewerEmail:
type: string
description: Email of the viewer (from personal link or email gate). Empty string if unknown.
example: john@company.com
viewerName:
type: string
description: Name of the viewer (from personal link). Empty string if unknown.
example: John Smith
companyName:
type: string
description: Company name associated with the share link. Empty string if unknown.
example: Acme Inc.
deckTitle:
type: string
description: Title of the document that was viewed
example: Q3 Sales Proposal
device:
type: string
description: Device type of the viewer. "-" when the device was not recorded.
enum:
- desktop
- mobile
- tablet
- '-'
example: desktop
location:
type: string
description: Geographic location of the viewer (city, country)
example: San Francisco, United States
createdAt:
type: string
format: date-time
description: Timestamp when the view occurred (ISO 8601)
example: '2026-03-27T14:30:00.000Z'
required:
- viewId
- shareSlug
- viewerEmail
- viewerName
- companyName
- deckTitle
- device
- location
- createdAt
securitySchemes:
apiToken:
type: http
scheme: bearer
bearerFormat: hd_api_...
description: Named workspace API key issued by a workspace owner or admin. Prefixed hd_api_, shown once at creation, valid for one year, independently scoped and revoked, and bound permanently to its workspace. Each *:write scope includes the matching *:read capability. Not accepted on webhook subscription endpoints.
oauth2:
type: oauth2
description: Issued by the Zapier integration's OAuth flow. Access tokens last 30 days; refresh tokens last 90 days. The only credential accepted on webhook subscription endpoints.
flows:
authorizationCode:
authorizationUrl: https://app.hummingdeck.com/api/zapier/authorize
tokenUrl: https://app.hummingdeck.com/api/zapier/token
scopes: {}