Authentication
How to authenticate requests to the Prezio API
Prezio API uses OAuth 2.0 token-based authentication for all requests. This guide explains how to obtain and use API tokens effectively.
Authentication Flow
Obtain an API token
Get your unique API token through the Prezio customer dashboard or by contacting support.
Include the token in requests
Add your token to the Authorization header with prefix Token
for all API requests.
Access API resources
Make authenticated requests to any Prezio API endpoint you have permission to access.
Obtaining API Tokens
Customer Dashboard [coming soon]
- Log in to the Prezio Customer Dashboard
- Navigate to the API section
- Create a new API token with appropriate permissions
- Save the token securely - it won’t be displayed again
Contact Support
For enterprise access or if you don’t have dashboard access, contact:
Include your account details and required access level.
Using API Tokens
Include your token in the HTTP Authorization header with the prefix Token
:
Example Requests
Security Best Practices
Handling Authentication Errors
401 Unauthorized
The token is invalid, expired, or missing. Verify you’re using the correct token with the “Token” prefix.
403 Forbidden
Your token lacks permission for the requested resource. Contact support to adjust permissions.
Authentication failures count toward your rate limits. Implement proper error handling to avoid excessive authentication attempts.
Environment-Specific Authentication
Remember to use the appropriate token for each environment:
For questions regarding authentication or token management, contact our support team at support@prezio.eu.