Webhooks
Receive real-time notifications on your server when a session is decided, a video call ends, or a code or link needs to be delivered.
Overview
A webhook is an HTTPS endpoint on your server. Whenever an event it subscribes to happens, Identomat sends it a POST request with a JSON body. Your system doesn’t need to poll the API to find out whether a session has been decided.
Webhooks are managed in Manage under Developers → Webhooks and are available to Administrators. You can create as many as you need. Each one has its own callback URL, events and API key. For example, session decisions can go to your onboarding backend and video call updates to a separate archive service.
Setting up a webhook
Prepare your endpoint. It must be reachable over
https://from the internet and acceptPOSTrequests with a JSON body. It must check thatcallbackApiKeymatches your stored key and respond with a 2xx status code within 20 seconds.Create the webhook. In Manage, go to Developers → Webhooks and click + New webhook. Fill in:
Callback URL: your endpoint, starting with
https://Events: one or more of the events listed below. The Payload preview next to the form shows the exact JSON for each event you select.
Copy the API key. Click Create webhook. Identomat generates the webhook’s Callback API key. Copy it or download it as a
.txtfile and store it on your server.Test it. Click Continue, then Test webhook. If the test passes, the webhook becomes Active and starts receiving events. If your endpoint isn’t ready yet, choose Skip testing and test later from the webhook list.
Webhook statuses
A webhook receives events only once it has passed a test.
Not tested
Created, or its callback URL was changed, and not tested since
No
Failed
The last test didn’t pass
No
Active
Tested successfully
Yes
Deactivated
Switched off manually
No
Changing the callback URL of an Active webhook sets it back to Not tested until it passes a new test. Adding or removing events takes effect immediately and needs no new test.
Testing a webhook
A test sends one sample request for each subscribed event and shows how your endpoint answered: status code, response time and the request body. The test passes only if every request gets a 2xx response within 20 seconds.
Test requests carry your real API key and the header X-Identomat-Test: true. Use the header to skip test requests in your processing, so sample sessions aren’t treated as real.
Not tested or Failed
Becomes Active
Becomes Failed
Active
Stays Active
Stays Active (the result is only shown)
Deactivated
Can’t be tested. Activate it first.
—
Verifying requests
Every request includes the webhook’s key in the callbackApiKey field of the body. Compare it with the key you stored. Reject any request where it doesn’t match, for example with 401.
Each webhook has its own key, starting with
whsec_.You can view and copy the key at any time on the webhook’s detail page in Manage.
Generate new API key replaces it. The old key stops working immediately, so update your endpoint first. Events sent while your endpoint rejects the new key are not resent.
Delivery
Method:
POST,Content-Type: application/json, HTTPS onlyTimeout: 20 seconds. Any non-2xx response counts as a failed delivery.
Retries: Failed deliveries are retried, so your endpoint may receive the same event more than once. Handle duplicates.
Delivery history: Manage doesn’t show delivered events or let you resend them yet. Until it does, use
result/to get a session’s current state, or contact Identomat support to resend events.
Identomat IP addresses
Webhook requests are sent from these IP addresses:
63.179.37.21263.176.25.1534.159.23.239
If your firewall limits incoming traffic, add all three to its allowlist so requests from Identomat reach your endpoint. Checking the IP doesn’t replace checking callbackApiKey. Always verify the key as well.
Events
Events appear in Manage under their technical key, the same value your system receives in the type field.
session-change
A session’s result changes
No
video-call-status-update
A video call room or its recording changes status
No
one-time-password
An applicant needs an SMS one-time code (Phone number step, verify method)
Yes, SMS
share-session-link-via-sms
An operator shares a verification link by SMS from Manage
Yes, SMS
email-one-time-password-request
An applicant needs an email one-time code (Email step, verify method)
Yes, email
share-session-link-via-email
An operator shares a verification link by email from Manage
Yes, email
session-change
Notifies your system whenever a session’s status changes. This event doesn’t depend on the SMS or email provider settings.
APPROVED
The session was approved
REJECTED
The session was rejected
MANUAL_CHECK
The session needs manual review
ADDITIONAL_INFORMATION_REQUESTED
An operator asked the applicant for further verification. See Additional information requests.
KYB sessions also include "sessionType": "kyb". If sessionType is absent, the session is KYC. Get the full data from result/ (KYC) or the KYB result endpoint.
video-call-status-update
Sent whenever a video call room changes status. It is sent whether or not a video was recorded, so your system can tell when a room ended with no media and when a recording is ready to download.
Case 1: room ended with no media recorded (roomStatus: "empty")
Case 2: video file created and ready to download (videoFileStatus: "available")
callbackApiKey
The webhook’s key, used to verify the request
type
Always video-call-status-update
sessionId
ID of the verification session
roomId
Unique ID of the video room
roomStatus
State of the room: ended, or empty when the room ended with no media recorded
compositionStatus
Status of the composition file: available or null
videoFileStatus
Whether the video file is ready: available or null
videoFileId
ID of the uploaded video file, or null. Pass it as fileId to get-video-call-videos.
This event is a real-time notification. The complete, always up-to-date video call status is also in the videoCallStatus field of the result/ endpoint, so your system can poll result/ or recover the state if an event is missed.
one-time-password-request
Sent when a one-time password is generated during phone number verification and must be delivered to the end-user by SMS.
Send text to phoneNumber as an SMS.
share-session-link-via-sms
Sent when an operator shares a session link with the end-user by SMS from Manage.
email-one-time-password-request
Sent when a one-time password is generated during email verification and must be delivered to the end-user by email.
share-session-link-via-email
Sent when an operator shares a session link with the end-user by email from Manage.
Best practices
Respond first, process later. Return 2xx as soon as the request arrives and do the work afterwards, because of the 20-second limit.
Treat
session-changeas a signal. Callresult/for the decision details before acting on it.Handle repeats. The same event can arrive more than once, for example when support resends it. Use
sessionId+type+resultto skip duplicates.Use one webhook per environment, such as “Staging – decisions” and “Production – decisions”, each with its own URL and key.
Deactivate rather than delete during maintenance on your side. You keep the configuration and key.
Last updated
Was this helpful?