Purpose

Specifies the API key used to authenticate to the REST endpoints when API key authentication is enabled (AuthenticationMethod=URLParameter). To learn how to generate an API key for your account, refer to the HubSpot documentation.

Valid Values

String

where:

String

is the API key you have generated for your account.

Data Source Methods

public String getApiKey()

public void setApiKey(String)

Default Value

No default value

Data Type

String