Articles on: API & Webhooks

How to Set up Custom Header Authentication to Secure Webhooks

Relevant to: Pro, Premium, and Enterprise customers

Webhook consumers need an authentication system for webhooks to be sent to the right destination and ensure the source is verified. In this tutorial, you’ll learn how to set up custom header authentication and how to create, edit, and delete your custom header from a webhook URL.

Note: You must be an Owner, Manager, Admin, or Member to be able to add or edit webhooks.

Steps to add a custom header

Log in to AfterShip admin
Navigate to Settings > Webhooks

Click Add webhook URL
Click Add custom header (You can add up to 5 headers to a webhook URL)
Enter the Key and Value for the custom header

Hit the Save button

Once saved, you will be able to authenticate your webhook with the set-up key(s) and value(s).

✍️ Key information

Keys should not be longer than 32 characters
Keys can only include letters, numbers, and hyphens (-)
Values should not be longer than 512 characters

Note: You can easily edit or delete your customer headers by clicking the edit button.
If you have any questions or need any help, please contact our chat support team.

Updated on: 06/01/2023

Was this article helpful?

Share your feedback


Thank you!