Signature
Generate HMAC hash signature to check that SMS notification is actually coming from us.
The Signature is calculated based on the timestamp
, request body
and your Secret Key
with HMAC hash using SHA256 Algorithm.
Here is an example on how to generate the Signature for otp
type with Secret Key=12345ABCDE
, timestamp=1706191612
and following request body:
In order to generate the Signature all spaces must be removed from the request body:
Then message for HMAC algorithm has to be formed using following template:
So the message should look like the following:
The computed Signature for this request is:
A free online HMAC Generator for testing is available on https://www.freeformatter.com/hmac-generator.html#before-output.
Here is how we calculated the Signature from above example using Free Formatter


Last updated