Articles on: Others

How to Set up Custom Header Authentication to Secure Webhooks

Plans: Pro, Premium, Enterprise Platforms: All platforms


Overview


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.


You must have Owner, Manager, Admin, or Member rights to be able to add or edit webhooks.


Steps to add a custom header


  1. Log in to your AfterShip Tracking admin
  2. Navigate to Settings > Webhooks



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


  1. Hit the Save button


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


Additional considerations


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


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: 23/01/2024