Authentication
Include the following request headers on every API call:
Params
X-TagBee-PubKey | API Public Key |
X-TagBee-Signature | Base64 encoded string generated using HMAC-SHA256 and the Private Key acquired during the project creation |
X-TagBee-PubKey generation PHP example
$jsonPayload = '{"string": "Hello World"}';
base64_encode(hash_hmac('sha256', $jsonPayload, $tagBeeSecretKey, true));
You don't have your access keys yet? Register to TagBee, create your first project and get a Public and a Private key.