Developers
tapSnap API Reference
Last Updated: August 14, 2026
This page documents every public API endpoint tapSnap exposes — the five endpoints below plus the outbound webhook are the entire public API surface. tapSnap has no other public API; all other backend routes are internal to the tapSnap apps and are not part of any public API. This API powers the tapSnap Zapier integration.
Base URL#
https://us-central1-suup-d487a.cloudfunctions.net/zapierApiThis is tapSnap's production endpoint — not a sandbox, test, or development environment. tapSnap's backend runs serverless on Google Cloud Functions, so the production API is served from our Google Cloud project's standard cloudfunctions.net hostname. The same project (suup-d487a) serves the live tapSnap product — the dashboard, the documentation, and all mobile-app backends. The project, this API, and the tapSnap product (tapsnap.co / tapsnap.me) are owned and operated by the same tapSnap team; no third-party APIs are used.
Authentication#
Every request must include a tapSnap API key in the X-API-Key header:
X-API-Key: tsk_<48 hex characters>Users generate the key inside tapSnap (dashboard or mobile app → Integrations → Zapier). One key is active per account; generating a new key revokes the previous one.
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
500 | Unexpected server error |
GET /auth/test#
Verifies an API key. Used by Zapier's connection test.
{
"id": "<tapSnap user id>",
"name": "Jane Smith",
"email": "jane@example.com",
"connectionLabel": "jane@example.com"
}GET /contacts#
Returns the authenticated user's 50 most recent leads, newest first. Used by Zapier as the polling feed for sample data and deduplication (unique by id).
[
{
"id": "abc123",
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1 (555) 123-4567",
"company": "Acme Corp",
"jobTitle": "VP of Marketing",
"tag": "hot",
"notes": "Met at TechCrunch Disrupt.",
"source": "scan",
"website": "https://acme.com",
"linkedIn": "https://linkedin.com/in/janesmith",
"createdAt": "2026-07-30T18:00:00.000Z"
}
]tag is "hot" | "warm" | "cold" | null. source describes how the lead was captured (e.g. scan, form, manual) and may be null. createdAt is ISO 8601.
GET /contacts/sample#
Returns one static sample lead in the same shape as /contacts. Used to populate the Zap editor when an account has no leads yet.
[
{
"id": "sample-contact-001",
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1 (555) 123-4567",
"company": "Acme Corp",
"jobTitle": "VP of Marketing",
"tag": "hot",
"notes": "Met at TechCrunch Disrupt. Interested in partnership.",
"source": "scan",
"website": "https://acme.com",
"linkedIn": "https://linkedin.com/in/janesmith",
"createdAt": "2026-07-30T12:00:00.000Z"
}
]POST /hooks/subscribe#
Subscribes a REST hook. Zapier calls this when a Zap using the New Lead trigger is turned on. event is optional and defaults to contact.created (the only event type).
// request (JSON body)
{ "hookUrl": "https://hooks.zapier.com/…", "event": "contact.created" }
// response 200
{ "id": "<hook id>" }
// response 400 — hookUrl missing
{ "error": "hookUrl is required" }DELETE /hooks/subscribe#
Unsubscribes a REST hook. Zapier calls this when a Zap is turned off or deleted. id may be passed in the JSON body or as a query parameter (?id=…). If id is omitted, all hooks for the authenticated user are removed. Deleting an unknown id still returns 200 (idempotent).
// request
{ "id": "<hook id>" }
// response 200
{ "success": true }Webhook delivery (tapSnap → Zapier)#
When a new lead is captured, tapSnap POSTs to every subscribed hookUrl within seconds:
{
"event": "contact.created",
"timestamp": "2026-07-30T18:00:00.000Z",
"contact": {
"id": "abc123",
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1 (555) 123-4567",
"company": "Acme Corp",
"jobTitle": "VP of Marketing",
"tag": "hot",
"notes": "Met at TechCrunch Disrupt.",
"source": "scan",
"website": "https://acme.com",
"linkedIn": "https://linkedin.com/in/janesmith"
}
}Delivery is attempted up to 3 times with exponential backoff (10-second timeout per attempt). A 410 Gone response permanently removes the hook (Zapier's standard signal for a deleted Zap).
Questions#
Reach us at tapsnap.co/support. A mirror of this reference is also published at tapsnap-docs.web.app/zapier-api.
