Base Url https://betapi.print-labs.de
Send a POST request to the token endpoint:
Endpoint: POST /auth/v2/token/
Request Payload:
{
"apikey": "your-api-key"
}
Response Payload:
{
"access_token": "your-access-token",
"refresh_token": "your-refresh-token",
"expires_in": 123
"refresh_expires": 123
}
Include the access token in the Authorization header:
Authorization: Bearer your-access-token
access_token tokens are short-lived.refresh_token tokens can be used to get new access tokens.expires_in is in seconds.refresh_expires is in seconds.