☝️ To get started, you’ll need to add the free API plugin to your portal. You can request this from our support team via chat or by emailing [email protected].
💡 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.