For the complete documentation index, see llms.txt.

POST /v1/hubspot/callback

HubSpot OAuth Callback

Handle HubSpot OAuth callback and exchange code for tokens. `state` must be the single-use value from the authorization URL that `GET /v1/hubspot/auth-url` returned to the same user, used within 10 minutes. Any other state returns 400 and links nothing.

Auth required: Yes

Request Body

Responses

Authentication

Requires authentication. Pass a Bearer token (Supabase JWT) or an API key (`Authorization: Bearer vennio_sk_live_*`) in the request headers.

Base URL: https://api.vennio.app