Authentication
Getting your token
Use your API key and secret to obtain a JWT token by calling the Login API.
If you don't specify a validity time, this token will allow you to call byrd APIs during the next 7 days.
API description: LoginAPIV2
{
"username": "your_api_key",
"password": "your_secret"
}
{
"token": "<JWT TOKEN>",
"payload": {
"iat": 1540912444,
"exp": 1541517244,
"aud": "api.getbyrd.com",
"jti": "UUID",
"nbf": 1540912444,
"loc": [
"UUID"
],
"sub": "UUID",
"iss": "api.getbyrd.com",
"role": "customer"
}
}
Using the token in your API calls
Call any other byrd APIs including the token in the Authorization header with the word Bearer, like this:
Authorization: Bearer <JWT TOKEN>
Treat tokens with care. Never share tokens with other users or applications. Do not publish tokens in public code repositories, logs, emails or instant messages.
Updated 4 months ago