Skip to main content

Douano API

Updated over 3 weeks ago

πŸ’‘ 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.

Did this answer your question?