Customer developer
You. Implements the endpoints and issues the token.
Business owner
The HunterAI account owner for your company. Creates the connection.
HunterAI
Runs the sync and surfaces the data.
The sequence
1
Implement the required endpoints — customer developer
Build the four required endpoints —
/pipelines,
/users, /contacts,
/leads — and any optional ones you want
(/events, /tasks,
/calls). Return 404 for optional endpoints you skip. Work
through the Conformance checklist before moving on.2
Issue a token and decide a rate limit — customer developer
Create a read-only Bearer token scoped to those endpoints (see
Authentication) and decide the requests-per-second rate your API
can sustain (see Rate limits). Hand the business owner: the base URL,
the token, and the rate.
3
Create the connection in HunterAI — business owner
The business owner registers the connection through the HunterAI API (below), then runs
the test call. Only the account owner may do this — the ROP/MOP roles get
403.4
First sync — HunterAI
HunterAI runs a full pull in the background, then resumes incrementally from the
watermark on later runs. Once it completes, your data appears in the HunterAI dashboards
and funnels for that connection.
The HunterAI onboarding API
These endpoints live on HunterAI (not on your CRM) and are called by the business owner, authenticated as the workspace owner. All are under/api/v1.
Create the connection
201 Created
The token is never echoed back in any response. If
trigger_sync is true but the
sync queue is temporarily down, the connection is still created — the sync just is not
queued, and can be re-triggered later.Test the connection
Runs a live check against your/pipelines (first page only) and reports reachability and
auth.
200 OK
Manage the connection
Lookups are tenant-scoped: a connection is only visible to the workspace that owns it.
Another workspace requesting the same id gets
404.