Bitrix24Care

Restore blocked webhooks

In brief

  1. Go to Applications > Developer resources > Integrations.

  2. Find the blocked webhook in the list, open the Menu (≡), and select Edit.

  3. Copy the new secret key from the Webhook to call REST API field and update your local app or integration with it.


In detail

When you create a webhook, a secret key is automatically generated, which opens access to your data in Bitrix24. Keep the secret key confidential and avoid using it in any webpage code or script. Alaio Inc. blocks webhooks that have a secret key or token in the public domain.


How to know if your webhook is blocked

If you see the INVALID_CREDENTIALS error, it means your webhook is blocked. Alaio Inc. can limit access to the REST API for data protection, according to clauses 4.2. and 21.3.1. of the Terms of Service.
Bitrix24 Terms of Service

To reactivate your webhook, generate a new secret key.

The INVALID_CREDENTIALS error also occurs if the webhook with the specified address is missing. This can happen if:

  • The webhook was deleted.
  • The secret key was changed.
  • The owner of the webhook changed.
  • There was a mistake in the webhook address or ID.

How to get a new secret key

When a webhook gets blocked, a new secret key is generated. Here's how to find it:

  1. Go to Applications > Developer resources > Integrations.

  2. Find the blocked webhook in the list, open the Menu (≡), and select Edit.

  3. Copy the new secret key from the Webhook to call REST API field and update your local app or integration with it.

If you want to change the webhook's owner, update the secret key. Click Generate new > Continue and save your changes.

The secret key is available only to the webhook's creator. When an administrator edits a webhook of another user, the secret key is reset, and this administrator becomes this webhook's owner.
Was this information helpful?
Integration specialist assistance
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Go to Bitrix24
Don't have an account? Create for free
Related articles
Create webhooks and apps in Bitrix24 Evaluate the REST load in Bitrix24 Blocking REST API: reasons and solutions