Webhooks
Use the features of ComplyCube Webhooks to set up real-time notifications.
ComplyCube uses webhooks to notify your application when an event happens in your account. Webhooks are particularly useful for asynchronous events like when a check has concluded.
You can configure webhook endpoints via the API or the Web Portal to be notified about events that happen in your ComplyCube account and related resources.
Upon receiving a webhook notification, you should acknowledge success by responding with an HTTP 20x
response within 15 seconds. Otherwise, we will attempt to resend the notification up to 10 times according to an exponential back-off schedule.
The first attempt will be made 60 seconds after the initial attempt; the second attempt will be made 120 seconds later; the third attempt will be made 480 seconds later, and so forth until all 10 attempts are exhausted. After which, the corresponding webhook will be disabled.
You can quickly inspect webhook events with temporary endpoint URLs using free hosted services such as https://webhook.site.
Learn more about ComplyCube Webhooks ➔
The Webhook object
id
string
The unique identifier for the webhook.
description
string
A description of what the webhook is used for.
url
string
The URL of the webhook endpoint - must be HTTPS.
enabled
boolean
Determines if the webhook should be active.
events
array[string]
secret
string
createdAt
string
The date and time when the webhook was created.
updatedAt
string
The date and time when the webhook was updated.
Event Types
check.pending
A check has been created and is in pending
state.
check.completed
A check has completed with any outcome.
check.completed.clear
A check has completed with clear
outcome.
check.completed.attention
A check has completed with attention
outcome.
check.completed.rejected
A check has completed with rejected
outcome.
check.completed.match_confirmed
A check has completed with match_confirmed
outcome.
check.monitoring.attention
A monitoring check has completed with attention
outcome.
check.failed
A check has failed.
check.updated
A check has been updated.
client.created
A client has been created.
client.updated
A client has been updated.
client.deleted
A client has been deleted.
document.created
A document has been created.
document.updated
A document has been updated.
document.updated.image_uploaded
A document has been updated with a new image.
document.updated.image_deleted
A document has been updated as an image has been deleted.
document.deleted
A document has been deleted.
address.created
An address has been created.
address.updated
An address has been updated.
address.deleted
An address has been deleted.
The Event Object
id
string
The unique identifier for the event, which a webhook listener can use to bypass notification processing on a webhook notification sent more than once.
type
string
resourceType
string
payload
object
createdAt
string
The date and time when the webhook was created.
Payload by resource type
On create: the full object of the corresponding resource.
On update:
id
of the object along with updated fields.On delete:
id
of the deleted object.
On create: the full object of the corresponding resource.
On update:
id
of the object along with updated fields.On other events:
id
: The unique identifier for the check.status
: The status of the check.outcome
: The outcome of the check. Only returned when the status iscomplete
.createdAt
: The date and time when the check was created.updatedAt
: The date and time when the check was updated.
Last updated