Generate Keys: After you log in to your Workspace, you will require to generate an API Key and a Secret in the API Keys section.
Encode Credentials: API key and API Secret need to be passed as a standard Basic
authentication with the API key and API secret base64 encoded. Combine your Key and
Secret with a colon (":") and Base64 encoded. Example: Authorization: Basic
base64(Key+":"+ secret)
.
Construct Authorization Header: Create an HTTP header named
Authorization with the format Basic
{encoded_credentials}
.
Include Header: Add this header to all your API requests.
Ensure your API Key and Secret remain secure.
- The access token generated is valid for 60 minutes.
- You can use the same access token for multiple API calls until it expires.