- Bruno installed
- Open Bruno and select
Open Collection. - To use the OAuth collection, browse to and select the
Intelligent APIfolder. - To use the Basic Auth collection, browse to and select the
Intelligent API - Basic Authfolder.
- To begin, ensure you have signed up at https://dash.intelligent-api.com and have generated at least one set of credentials (either a Basic or OAuth set of credentials).
- Within Bruno, open the relevant collection and select the
intelligent-apienvironment from the environment dropdown in the top right. - Select
Configure(or click the environment name) to edit the environment variables. - If you have setup OAuth Credentials, update the
clientIdandclientSecretvalues. - If you have setup Basic Credentials, update the
basicAuthClientIdandbasicAuthClientSecretvalues. - Ensure you save your changes before continuing.
NB: Secret variables (
clientId,clientSecret,basicAuthClientId,basicAuthClientSecret) are marked as secrets in Bruno and will not be synced or committed to version control.
- Open the
Intelligent APIcollection in Bruno. - Ensure the
intelligent-apienvironment is selected in the top right dropdown. - Begin by generating a token — invoke the
02 Request Tokenendpoint in the root of the collection. This will automatically store the returned token in your environment variables for use with subsequent requests. - You can now invoke any of the other API endpoints within the collection.
NB: When generating a token, you will only be able to specify
scopesthat the credentials you generated were granted access to when you created them in the https://dash.intelligent-api.com dashboard. So for example if you created credentials and unticked some of the scopes, you cannot include those scopes when requesting a token and subsequently can also not invoke any endpoints that require those scopes.
For more information on the Scopes and which endpoints require which Scopes, please see https://dash.intelligent-api.com/platform/apiaccess/scopes.
- Tokens are valid for 4 hours. After expiry, re-run
02 Request Tokento generate a new one. - The
Documentendpoints all require files as input. To send a file, select the relevant endpoint, go to theBodytab, and use the file picker to browse for and select an appropriate file.
- Open the
Intelligent API - Basic Authcollection in Bruno. - Ensure the
intelligent-apienvironment is selected in the top right dropdown. - You can now invoke any of the API endpoints directly — no token generation step is required.
NB: When using Basic Credentials, you will only be able to invoke endpoints that the credentials were granted access to when you created them in the https://dash.intelligent-api.com dashboard. So for example if you created credentials and unticked some of the scopes, you cannot invoke endpoints that require those scopes.
For more information on the Scopes and which endpoints require which Scopes, please see https://dash.intelligent-api.com/platform/apiaccess/scopes.
- The
Documentendpoints all require files as input. To send a file, select the relevant endpoint, go to theBodytab, and use the file picker to browse for and select an appropriate file.