Fintech
Sumsub Webhooks
Identity verification, KYC and AML. Receive applicant created, pending, reviewed, on-hold, reset and deleted events, and workflow and video-ident updates.
Connecting Sumsub to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Sumsub. Then:
- 1In the Sumsub Dashboard, open Developers → Webhooks → Manager and create a webhook with your Hookbase ingest URL
- 2Generate the Secret key in Sumsub or type in the one Hookbase generated, keep "Digest algorithm" on SHA256, and make sure this Hookbase source holds the same key
- 3Hookbase verifies X-Payload-Digest and uses type as the event type. Sumsub sends no delivery id, so retries are deduplicated by body
- 4Sumsub expects a connection within 1 second and a reply within 10 seconds
Signature verification
Set the source's provider to sumsub and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 of the raw body, hex-encoded (Digest algorithm: SHA256)
- Header
- X-Payload-Digest
- Where to find the secret
- The webhook's "Secret key" (Dashboard → Developers → Webhooks → Manager): generated by Sumsub or typed in. Hookbase verifies the SHA256 digest algorithm, the default for new webhooks; switch an older webhook from SHA1 to SHA256.
Sumsub event types
10 of the events people route most often. Hookbase accepts every event Sumsub sends, whether or not it is listed here.
applicantCreated
An applicant was created
applicantPending
An applicant submitted documents and is waiting for review
applicantReviewed
A review finished, with its answer (GREEN or RED)
applicantOnHold
A review was put on hold
applicantActionPending
An applicant action is waiting for review
applicantLevelChanged
An applicant moved to another verification level
applicantReset
An applicant was reset
applicantDeleted
An applicant was deleted
applicantWorkflowCompleted
An applicant finished a workflow
videoIdentStatusChanged
A video identification changed status
What a Sumsub webhook looks like
A applicantCreated payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"applicantId": "5c9e177b0a975a6eeccf5960",
"inspectionId": "5c9e177b0a975a6eeccf5961",
"applicantType": "individual",
"correlationId": "req-63f92830-4d68-4eee-98d5-875d53a12258",
"levelName": "id-and-liveness",
"externalUserId": "12672",
"type": "applicantCreated",
"sandboxMode": false,
"reviewStatus": "init",
"createdAtMs": "2020-02-21 13:23:19.002",
"clientId": "coolClientId"
}Start receiving Sumsub webhooks
Create a source, paste the URL into Sumsub, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free