Webhook Relay
Search…
Authentication
Webhook Relay supports authentication on public endpoints and can also send authentication details to the destinations.

Input endpoint authentication

By default webhook endpoints accept incoming requests without authentication. To enable authentication on all public endpoints that belong to a bucket, go to the authentication section:
bucket authentication settings
Then, you can either select "basic" or "token" authentication methods.

Basic authentication

With basic authentication you will need to specify username and password. Unauthenticated requests to bucket's inputs will result in "Unauthorized" error:
1
curl https://hqzxx4bpayrk4sdrfifte6.hooks.webhookrelay.com
2
Unauthorized
Copied!
The endpoint now expects a request to have 'Authorization: Basic <base64 encoded username:password>' header. Tools like curl can help authenticate:
1
curl \
2
--user test-username:test-password \
3
https://hqzxx4bpayrk4sdrfifte6.hooks.webhookrelay.com
Copied!

Bearer (token) authentication

To use bearer token authentication, select 'token' from the authentication menu and set your token value. In this case, to successfully send webhooks, you will need to set 'Authorization: Bearer <your token>' header:
1
curl \
2
-H 'Authorization: Bearer very-secret' \
3
https://hqzxx4bpayrk4sdrfifte6.hooks.webhookrelay.com
4
​
Copied!
​