π‘ The Douano API uses the OAuth2 Authorization flow to grant access to the API. You can find more details via this π link.
Generate a Client ID and Secret
π‘ To start using the OAuth2 Authorization flow, you first need to create an API user.
β’ Go to Settings β Extensions β API integrations.
After saving, a Client ID and Client Secret will be generated. You will also need to provide a Redirect URL where Douano can send the authorization code.
Use the Client ID and Secret in an external application
π‘ To use the API in an external application, you must first request access by following the OAuth2 authorization flow.
The URL you need is https://<your-douano-url>/authorize, and the grant type should be Authorization Code.
Once access is approved, you can request an Access Token via the URL https://<your-douano-url>/oauth/token.
π‘ Douano will provide you with an API Token and an API Refresh Token.
The API Token is valid for 1 day, and the Refresh Token is valid for 1 year. You can use the Refresh Token to request a new API Token daily without repeating the authorization flow.
Postman β Douano Public API Documentation
π‘ All features of the Douano API are documented in Postman.
Click this π link to open Postman.