Authentication
Last updated
Last updated
The Duro GraphQL API uses Bearer token authentication. All API requests must include an authorization token in the header.
To get started with the Duro API, you'll need to:
Create a Duro account at
Navigate to your account settings
Generate an API token from the Developer section
Include your API token in all requests using the Authorization header:
Never share your API tokens
Rotate tokens regularly
Use different tokens for development and production
Store tokens securely in environment variables
Never commit API tokens to version control or expose them in client-side code.
Learn how to make your first API call in the guide.