URL parameter (API key) authentication
- Last Updated: July 2, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Aha! 6.0
- Documentation
This string includes the properties used to connect with URL parameter (API key) authentication.
jdbc:datadirect:aha:servername;AuthenticationMethod=UrlParameter;SecurityToken=security_token;
[property=value[;...]];
where:
- servername
- specifies the base URL of the Aha! service to which you want to issue requests. For example, company.aha.io.
- security_token
- specifies the API key required to make a connection to your endpoint. API keys can be generated through the Aha! user interface. Refer to the Aha! documentation for more information.
- property=value
- specifies connection property settings. Multiple properties are separated by a semi-colon.
The following example connection string demonstrates the properties required for connecting with URL parameter authentication.
Connection conn = DriverManager.getConnection
("jdbc:datadirect:aha://company.aha.io;authenticationMethod=UrlParameter;
securitytoken=1234abc5d6789efg;");