curl --request POST \
--url https://api.hubapi.com/visitor-identification/2026-03/tokens/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
}
'{
"token": "<string>"
}curl --request POST \
--url https://api.hubapi.com/visitor-identification/2026-03/tokens/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
}
'{
"token": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The email of the visitor that you wish to identify
The first name of the visitor that you wish to identify. This value will only be set in HubSpot for new contacts and existing contacts where first name is unknown. Optional.
The last name of the visitor that you wish to identify. This value will only be set in HubSpot for new contacts and existing contacts where last name is unknown. Optional.
successful operation
An identification token that allows the visitor to be treated as a known contact.
Was this page helpful?