HMAC

Legatus API use HMAC (SHA256) for Authentication.

You can request for the API Key and Secret key on the developer dashboard. from there you can use the key to generate HMAC signature for use when quering to our API server.

SIGNATURE = hash_hmac("sha256", $rawSignature, $secret);

$rawSignature = "{$time},{$Stringvalue}"

$time = UNIXTIME()

$Stringvalue {"Action":"CreateUser" , "FirstName":"John" , "LastName": "Doe"}

Last updated