TryzenAPI
Integrations

Send one lead to HubSpot now (Export to CRM)

POST
/v1/integrations/hubspot/export

Access: an API key (or an org-wide key naming the workspace) with the crmExport flag.

Creates the HubSpot contact, or updates the one with the lead's email (else its LinkedIn profile URL; or the contact an earlier sync made). 409 not_connected: connect HubSpot first. 422 contact_deleted: the contact was deleted in HubSpot and stays excluded. 502 hubspot_*: HubSpot refused or failed (hubspot_unauthorized = reconnect).

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Request Body

application/json
  1. body
leadId*string
Match^[a-f0-9]{24}$

Response Body

Default Response

application/json
  1. response
contactId*string
Length1 <= length
created*boolean

True when a new HubSpot contact was made.

Example Request
curl -X POST 'https://api.tryzen.co/v1/integrations/hubspot/export' \  -H 'Content-Type: application/json' \  -d '{  "leadId": "string"}'
Example Response
{  "contactId": "string",  "created": true}