Generate Access Token
Implementation Examples of Access Token Generation in Various Programming Languages
Create access token by using HMAC-SHA256
An access token can be generated by combining the api_key and timestamp string with the provided api_secret.
Attribute
Description
api_key
Get it from your PAVE Developer dashboard
api_secret
Get it from your PAVE Developer dashboard
timestamp
UTC Datetime string, example: 2021-05-30T12:49:19Z
Examples in Different Languages:
$token = hash_hmac('sha256', '<username>:<api_key>@<timestamp>', '<api_secret');
// https://www.php.net/manual/en/function.hash-hmac.php
Last updated