Reference · API
D Integration API for Zapier
The HTTP API the Hashentic Zapier app uses. You can call it yourself with a Zapier connection key, for example from another automation tool.
Authentication#
Create a connection key in the admin panel (System Applications Zapier Create connection key). The key is
hxc1. followed by base64url-encoded JSON:
{ "url": "https://brand.example.com", "token": "hx_…" }
url is the API address; send every request to {url}/api/integrations/zapier/… with the header
Authorization: X-Integration-Token hx_…
over HTTPS. The key acts as the user who created it: every response contains only data of the product lines that user
can see, and each endpoint needs the user permission listed. A wrong, replaced or disconnected key, or a deactivated
user, returns 401. A missing permission, plan feature or product line returns 403. The key works only on these
endpoints.
Responses are JSON. Times are UTC in ISO 8601. IDs are strings. Errors have the shape
{ "errors": [ { "message": "…" } ] }.
Rate limit: 300 requests per minute for each combination of Hashentic address and client IP; above it the API answers 429 with Retry-After.
Account#
GET /me — checks the key.
{ "tenant": "brand.example.com", "user": "anna", "connectionId": "3" }
GET /assets — product lines the user can see (id, name), up to 500, sorted by name. Permission: Read assets.
Events#
| Event | Description | Permission |
|---|---|---|
verification.succeeded | a genuine product was verified | Read valid product verifications |
verification.failed | a verification failed | Read invalid product verifications |
fraud_alert.created | a fraud alert was raised | Read fraud alerts; fraud detection in the plan |
form_submission.created | a customer submitted a form | Read assets; forms in the plan |
GET /events/{event} — lists events.
| Query | Meaning |
|---|---|
assetId | only this product line (optional) |
limit | 1–100, default 25 |
afterId | without it: the newest events, newest first. With it: events with a larger ID, oldest first — repeat with the last ID to page forward |
IDs grow in the order events are recorded, which can differ slightly from the order they become visible, so an event
with a lower ID can appear shortly after a higher one. When you page forward with afterId, start each read from an ID
a couple of minutes old (re-read an overlap) and drop the IDs you already have.
Every event has id, occurredAt, assetId, assetName and productId (the product's public ID, empty when the
scan did not match a product).
- Scans add
productType,method,countryCode,isVpn,isProxy,isTor,isThreat; failed scans alsoreason(see Verification failure reasons). - Fraud alerts add
severity,score,signals(list),status,countryCode,windowStart,windowEnd. - Form submissions add
formId,formNameandvalues(field name answer). Protected fields are never included and answers are cut to 2,000 characters.
IP addresses, browser and device details and exact coordinates are never returned.
An event whose JSON would exceed 512 KB is delivered to hooks without its details: only id, occurredAt, assetId,
assetName, productId and "truncated": true. Read the full event with GET /events/{event} if you need it.
REST hooks#
POST /hooks — subscribes a Zapier hook URL to an event.
{ "event": "verification.failed", "targetUrl": "https://hooks.zapier.com/hooks/standard/…", "assetId": null }
Answers 201 with { "id": "15", "event": "verification.failed" }. targetUrl must be an https://hooks.zapier.com
URL. Subscribing the same event, URL and product line again returns the existing subscription. Up to 25 subscriptions
per key. Only events created after the subscription are sent.
DELETE /hooks/{id} — unsubscribes; answers 204, also when the subscription no longer exists.
Delivery: new events are POSTed to targetUrl as a JSON array (the same objects as GET /events), at most 100 events
and 512 KB per request, oldest first, usually 2–3 minutes after they happen (up to about 15 minutes on an account with no other activity). A 2xx answer confirms delivery; 410 Gone
removes the subscription; 408, 429, 5xx and timeouts are retried with growing pauses up to one hour; other 4xx
answers are retried and after five in a row the batch is skipped. Delivery is at least once: in rare cases an event can
be sent twice, so use id to remove duplicates. The user's permissions and product lines are checked again for every
delivery.
Products#
POST /products/find with { "identifier": "…" } — finds a product by its public product ID, a tag ID or a verification link. Answers a
list with zero or one product:
[ { "id": "p7Kd2mQx", "assetId": "…", "assetName": "Classic Sneaker", "blocked": false, "blockedAt": null, "createdAt": "2026-10-01T08:00:00Z" } ]
Permission: Read products.
POST /products/block and POST /products/unblock with { "identifier": "…" } — block or unblock the product and
answer the product. A product already in that state is answered unchanged, so a retry is safe. Unknown product: 404.
Permissions: Block products / Unblock products.