Stratum Webhooks API
The Webhooks API from Stratum — 3 operation(s) for webhooks.
The Webhooks API from Stratum — 3 operation(s) for webhooks.
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/stratumapis-com:stratumapis-com-webhooks-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: Stratum Transactions Webhooks API
version: 1.0.0
description: 'A whole job (a letting, a sale, a finance or business client, a screening list) in one place: the people, companies and property in it, the checks chosen, one run, and one signed certificate. Paid per check from your Stratum credit.'
contact:
name: Stratum APIs
url: https://stratumapis.com
email: support@stratumapis.com
termsOfService: https://stratumapis.com/legal/terms
x-logo:
url: https://stratumapis.com/icon.svg
altText: Stratum APIs
servers:
- url: https://api.stratumapis.com
security:
- accountKey: []
tags:
- name: Webhooks
paths:
/v1/webhooks:
get:
operationId: getWebhook
summary: Your webhook endpoint (only the last four characters of the secret) and the…
responses:
'200':
description: The endpoint, or null.
content:
application/json:
example:
ok: true
endpoint:
url: https://your-app.example.com/stratum-events
secretLast4: x9Qa
createdAt: '2026-10-09T09:00:00.000Z'
updatedAt: '2026-10-09T09:00:00.000Z'
events:
- watch.alert
- transaction.matches
- certificate.reissued
- digital_id.updated
- right_to_rent.follow_up_due
- ping
tags:
- Webhooks
put:
operationId: setWebhook
summary: Set the URL we post events to (https, public)
description: 'A new endpoint, or `"rotateSecret": true`, returns the signing secret once. Each event carries `Stratum-Signature: t=,v1=`; answer 2xx within 10 seconds, or we retry after 1, 5 and 30 minutes, 2 and 12 hours. The same event can arrive twice: skip repeats by `id`.'
requestBody:
required: true
content:
application/json:
example:
url: https://your-app.example.com/stratum-events
responses:
'200':
description: Saved.
content:
application/json:
example:
ok: true
endpoint:
url: https://your-app.example.com/stratum-events
secretLast4: x9Qa
createdAt: '2026-10-09T09:00:00.000Z'
updatedAt: '2026-10-09T09:00:00.000Z'
secret: whsec_...x9Qa
note: 'Save the secret now: it is shown only this once. Check each event with it (the Stratum-Signature header).'
'400':
description: Not an https URL on a public address.
content:
application/json:
example:
ok: false
reason: bad_url
message: 'Use a public address: private, loopback and link-local addresses are refused.'
tags:
- Webhooks
delete:
operationId: deleteWebhook
summary: Stop sending events
responses:
'200':
description: Stopped.
content:
application/json:
example:
ok: true
endpoint: null
tags:
- Webhooks
/v1/webhooks/test:
post:
operationId: testWebhook
summary: Send a ping event to your endpoint
responses:
'202':
description: Queued.
content:
application/json:
example:
ok: true
eventId: evt_3d0c178a67a043169dbcf2f0
message: 'Queued: it reaches your endpoint within about a minute. GET /v1/webhooks/deliveries shows how it went.'
'409':
description: No endpoint set.
content:
application/json:
example:
ok: false
reason: no_endpoint
message: 'Set your endpoint first: PUT /v1/webhooks { "url": "https://..." }.'
tags:
- Webhooks
/v1/webhooks/deliveries:
get:
operationId: webhookDeliveries
summary: 'Your newest 50 events: what was sent, when, and how it went'
description: 'Event types: `transaction.matches` (a run found possible matches: the rows, each with the `checkId` to open), `watch.alert` (a watched name has something new, from the daily sanctions watch or the monthly PEP re-check), `certificate.reissued` (a new certificate version: its hash and verify link), `digital_id.updated` (an ID check by link changed status: `transactionId`, `requestId`, `partyId`, `kind`, `status`, `outcome`, `namesSent`, `personMayCorrectName`, `nameFrom` and `firmNames` (with `personMayCorrectName` also sent when the person has confirmed or corrected the name and pressed Start; `namesSent` is null until then), `endedBecause` (`email_in_use` or `details_rejected` when the link couldn''t start, else null), `reportAvailable`, `photoCheckNeeded` (false for a share code face matched in the identity service''s check, `share_code_selfie`, which is recorded at once); for a tenant also `route` (`passport`, `share_code`, `share_code_selfie` or null), `checkedAs`, `shareCode` (`state`: `not_recognised`, `checked`, `retrying`, `firm_check_needed` or `firm_checked`; `triesUsed`, the Home Office `referenceNumber`, `photoAvailable`), `firmCheckNeeded` with `firmCheck` (the code, date of birth and GOV.UK address, only while you need them), `photoCheckMethod`, `photoMismatch` and `firmChecked`; a status may arrive twice, so key on `requestId` and `status`), `right_to_rent.follow_up_due` (a tenant with a time-limited right to rent needs a follow-up check: sent 4 weeks before `followUpDue` with `stage` `upcoming` and on the day with `stage` `due`, once each: `transactionId`, `partyId`, `occupantName`, `followUpDue`, `daysLeft`, `checkedOn`, `method`, `requestId`, `reference`; a new Right to Rent record for them replaces the old date), `ping`.'
responses:
'200':
description: The events, newest first.
content:
application/json:
example:
ok: true
events:
- id: evt_9b1f...
type: transaction.matches
createdAt: '2026-10-08T23:05:41.112Z'
status: delivered
attempts: 1
deliveredAt: '2026-10-08T23:06:02.004Z'
lastStatusCode: 200
data:
txnId: 66896064-bf43-4359-839f-62b4353c3e0e
type: letting
matches:
- checkId: 880e5f5a-ad9a-4182
checkKey: sanctions
findings:
sanctions: 8
partyId: tenant-1
certHash: 8864b05f37e373b38e4b
detail: GET /v1/transactions/66896064-bf43-4359-839f-62b4353c3e0e/checks/{checkId} for each match
- id: evt_2c7a...
type: certificate.reissued
createdAt: '2026-10-08T23:06:30.410Z'
status: delivered
attempts: 1
deliveredAt: '2026-10-08T23:07:01.880Z'
lastStatusCode: 200
data:
txnId: 66896064-bf43-4359-839f-62b4353c3e0e
certHash: c1d8585e8dbc9ec3b1db
previousCertHash: 8864b05f37e373b38e4b
verifyUrl: https://stratumapis.com/verify/c1d8585e8dbc9ec3b1db
- id: evt_3d0c178a67a043169dbcf2f0
type: ping
createdAt: '2026-10-08T23:07:13.581Z'
status: pending
attempts: 1
nextAt: '2026-10-08T23:08:58.438Z'
lastStatusCode: 404
lastError: Your endpoint answered HTTP 404
data:
message: A test event from Stratum APIs.
tags:
- Webhooks
components:
securitySchemes:
accountKey:
type: apiKey
in: header
name: X-Stratum-Key
description: Your account key from the dashboard.