For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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.

Coming from callbacks?

Webhooks replace the Callback URL and Callback API key fields that used to be in Company settings. Callbacks configured there were moved to Developers → Webhooks automatically. They keep the same URL and key and are named Migrated webhook. The payload format hasn’t changed. The SMS and email provider choice stays in Company settings → Communication providers.

Setting up a webhook

  1. Prepare your endpoint. It must be reachable over https:// from the internet and accept POST requests with a JSON body. It must check that callbackApiKey matches your stored key and respond with a 2xx status code within 20 seconds.

  2. 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.

  3. Copy the API key. Click Create webhook. Identomat generates the webhook’s Callback API key. Copy it or download it as a .txt file and store it on your server.

  4. 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.

Status
Meaning
Receives events

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.

Status before the test
Test passes
Test fails

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 only

  • Timeout: 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.212

  • 63.176.25.15

  • 34.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.

Event
Sent when
Needs Client’s own provider

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

The four code and link events are sent only when Client’s own provider is selected in Company settings → Communication providers. Your system then delivers the SMS or email itself. With Identomat as provider, Identomat sends the message and these events never fire. Choosing your own provider without an Active webhook for these events means codes and links reach no one.

session-change

Notifies your system whenever a session’s status changes. This event doesn’t depend on the SMS or email provider settings.

result
Meaning

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")

Field
Description

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.

When a recording becomes available, we strongly recommend downloading it with the fileId parameter of get-video-call-videos. With fileId, your system downloads files one at a time, keeps better control over large recordings, and skips files it doesn’t need. Downloading all files in one request is still supported for backward compatibility, but isn’t recommended for new integrations.

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.

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.

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-change as a signal. Call result/ 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 + result to 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?