HummingDeck Contacts API
The Contacts API from HummingDeck — 1 operation(s) for contacts.
The Contacts API from HummingDeck — 1 operation(s) for contacts.
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-contacts-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 Contacts 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: Contacts
paths:
/contacts:
get:
summary: Search contacts
description: Search contacts by email within the authenticated team.
operationId: searchContacts
x-required-api-key-scope: crm:read
parameters:
- name: email
in: query
required: true
schema:
type: string
format: email
description: Email to search for (case-insensitive)
responses:
'200':
description: Matching contacts
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Contact'
'401':
description: Not authenticated
'403':
$ref: '#/components/responses/InsufficientScope'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalServerError'
tags:
- Contacts
post:
summary: Find or create a contact
description: Finds a contact by case-insensitive email or creates it. Supply either a full name or firstName/lastName. An optional companyId associates an existing company; companyName finds or creates the company first.
operationId: findOrCreateContact
x-required-api-key-scope: crm:write
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 201
description: Full name. Mutually exclusive with firstName/lastName.
firstName:
type: string
minLength: 1
maxLength: 100
lastName:
type:
- string
- 'null'
maxLength: 100
email:
type: string
format: email
title:
type:
- string
- 'null'
maxLength: 100
companyId:
type:
- string
- 'null'
format: uuid
description: Existing company in this workspace. Mutually exclusive with companyName.
companyName:
type:
- string
- 'null'
maxLength: 255
description: Company to find or create. Mutually exclusive with companyId.
companyDomain:
type:
- string
- 'null'
maxLength: 255
description: Optional enrichment domain when companyName is supplied. Never used to match an existing company.
required:
- email
anyOf:
- required:
- name
- required:
- firstName
responses:
'200':
description: Existing contact returned
content:
application/json:
schema:
type: object
properties:
contact:
$ref: '#/components/schemas/Contact'
created:
type: boolean
const: false
company:
oneOf:
- $ref: '#/components/schemas/Company'
- type: 'null'
companyCreated:
type: boolean
required:
- contact
- created
- company
- companyCreated
'201':
description: Contact created
content:
application/json:
schema:
type: object
properties:
contact:
$ref: '#/components/schemas/Contact'
created:
type: boolean
const: true
company:
oneOf:
- $ref: '#/components/schemas/Company'
- type: 'null'
companyCreated:
type: boolean
required:
- contact
- created
- company
- companyCreated
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Not authenticated
'403':
$ref: '#/components/responses/InsufficientScope'
'404':
description: Supplied company ID was not found in the authenticated workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Existing contact belongs to a different company
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalServerError'
tags:
- Contacts
components:
schemas:
Company:
type: object
properties:
id:
type: string
description: Unique identifier for the company
name:
type: string
domain:
type:
- string
- 'null'
logoUrl:
type:
- string
- 'null'
format: uri
industry:
type:
- string
- 'null'
size:
type:
- string
- 'null'
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- name
- domain
- logoUrl
- industry
- size
- createdAt
- updatedAt
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
Contact:
type: object
properties:
id:
type: string
description: Unique identifier for the contact
firstName:
type: string
lastName:
type: string
email:
type:
- string
- 'null'
format: email
title:
type:
- string
- 'null'
description: Job title
leadId:
type:
- string
- 'null'
description: Deprecated alias for companyId
deprecated: true
leadName:
type:
- string
- 'null'
description: Deprecated alias for companyName
deprecated: true
companyId:
type:
- string
- 'null'
description: Associated company ID, null when the contact has no company in this workspace
companyName:
type:
- string
- 'null'
description: Associated company name
createdAt:
type: string
format: date-time
required:
- id
- firstName
- lastName
- email
- companyId
- companyName
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
PayloadTooLarge:
description: Request body exceeds the byte ceiling documented for this operation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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'
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: {}