Webhook Security
Authentication
Upwardli’s webhooks are secured using a Hashed Message Authentication Code (HMAC) in the webhook message header.
The name of this header value is Upwardli-Signature
. The Upwardli-Signature header contains two comma-separated
key-value pairs encoding information about the request. The first key-value pair will be in the form t=<unix_timestamp>
and represents the unix time that the request was sent. The second key-value pair will be in the form v1=WeNeedSomethingHere
, where the signature
is a sha256 hash computed from the consumers webhook secret and a dot-separated string composed of the unix timestamp
joined with the request body.
Note: computing the signature is sensitive to the exact characters input into the algortihm. The request data should be a json string with no whitespace formatting.