/

to search

#Webhook Authentication

Setu provides the following methods of authentication for webhook notifications to your server:

#Basic Authentication

Authorization header contains a base64-encoded string of the format username:password. username & password are provided by partner

Authorization: Basic base64(username:password)

#HMAC Signature

Authorization header contains a HMAC-SHA256 signature of secret value provided by partner.

Authorization: HMAC-SHA256(secret)

#API Key

Authorization header contains a X-API-KEY & X-CLIENT-ID with values provided by partner.

X-API-KEY: x_api_key_value
X-CLIENT-ID: x_client_id_value