API authentication and access management - Precisely Data Integrity Suite
API Authentication
- Product
- Spatial_Analytics
- Data_Integration
- Data_Enrichment
- geo_addressing_1
- Data_Observability
- Services
- Spatial Analytics
- Data Integration
- Data Enrichment
- Geo Addressing
- Data Observability
- ft:title
- API Authentication
- ft:locale
- en-US
- PublicationType
- pt_developer
- copyrightfirst
- 2023
- copyrightlast
- 2026
- How can I authenticate with the Data Integrity Suite APIs?
- There are two main ways to authenticate with the Data Integrity Suite APIs:
- API Key Authentication (Using API Key and Secret): API keys grant basic access to an API, often for server-to-server communication or when accessing public data where the identity of a specific user is not paramount. For simpler integrations with third-party services where user-specific permissions are not required, an API key can be a straightforward solution. API keys can be used to track API usage associated with a specific application or workspace.
- Bearer Token Authentication: Tokens have a limited lifespan and can be revoked, enhancing security by reducing the window of opportunity for unauthorized access if a token is compromised. Tokens can be issued with specific scopes or claims, allowing for dynamic and granular control over what resources a user can access and what actions they can perform. Tokens are often preferred for client-side applications (such as web browsers, mobile apps) where user interaction and consent are involved in the authentication process.
- Which authentication method should I use?
- If you prioritize simplicity and do not mind including your credentials in every request, Basic Authentication is a good choice. However, for better security and to manage token expiration, Bearer Token Authentication is recommended.
- How many API keys can be generated in DIS Workspace, and how are they managed?
- Each admin user can create up to 2 API keys linked to their own account. If a customer needs more keys, they can assign additional users as
workspace admins/managers. Each of these users can also generate 2 keys. Because each key is associated with the user who created it, tracking will show which specific user is linked to each key.
- Are API keys tied to the workspace or the user?
- Keys are associated with the individual admin user who created them. For tracking purposes, each key is linked to the specific user who generated it.
- How do I obtain my API Key and Secret?
- You can generate your API Key and Secret within your Data Integrity Suite account settings. Click Account then API Keys.
- How do I authenticate using Basic Authentication?
- Encode your API Key and Secret together using Base64 encoding (programming languages, Postman, Swagger, and many online tools can do this).
- Include the encoded string in the Authorization header in the format
Basic Base64Encoded(key:secret).
- How do I obtain an access token for Bearer Token Authentication?
- Use a POST request to the authentication endpoint
/auth/v2/token.
- Include the API Key and Secret in the Authorization header in the format
Basic Base64Encoded(key:secret).
- The response will contain an access token with an expiration time.
- How do I use the access token for Bearer Token Authentication?
- Include the access token in the Authorization header in the format:
Bearer access_token.
- How often should I refresh the access token?
- It is recommended to refresh the access token before it expires to avoid interruptions. Consider renewing the token a few seconds (such as 5 seconds) before its expiration time.
- Does the production DIS account use a single sign-on (SSO) solution like Okta?
- No, it requires individual usernames and passwords for each
user.