API key authentication
- Last Updated: November 30, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- HubSpot 8.0
- Documentation
The driver supports API key authentication. It allows you to authenticate to the REST endpoints using an API key. To learn how to generate an API key for your account, refer to the HubSpot documentation.
To configure the driver to use API key authentication:
- Set the Authentication Method (AuthenticationMethod ) option to
14. - Set the API Key (APIKey) option to specify the API key used to authenticate the client application to the HubSpot API.
The following examples show the connection information required to establish a session using API key authentication.
Connection string
DRIVER=DataDirect 8.0 HubSpot;AuthenticationMethod=14;
APIKey=1234ab5cd-1a2b-3a4b-678uvw-xyz91011;
odbc.ini
[HubSpot]
Driver=ODBCHOME/lib/ivhubspot28.so
Description=DataDirect 8.0 HubSpot
...
AuthenticationMethod=14
...
APIKey=1234ab5cd-1a2b-3a4b-678uvw-xyz91011
...