Find an API

Search public APIs with auth details & Postman guides

← All APIs

Visitor Identification

hubapi · Company

Company No Auth Free & Open API

The Visitor Identification API allows you to pass identification information to the HubSpot chat widget for otherwise unknown visitors that were verified by your own authentication system.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

POST Generate a token

Generates a new visitor identification token. This token will be unique every time this endpoint is called, even if called with the same email address. This token is temporary and will expire after 12 hours

https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create

Hover any highlighted part to learn what it does

curl -X POST "https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create"
import requests
response = requests.post(
    "https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create';

const response = await fetch(url, {
  method: 'POST',
}); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create"
	req, _ := http.NewRequest("POST", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Post.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/conversations/v3/conversations/v3/visitor-identification/tokens/create";
$opts = ["http" => [
    "method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Visitor Identification?

Visitor Identification is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Visitor Identification is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗