Skip to content

Hubspot Sync

POST
/api/crm/hubspot/sync
curl --request POST \
--url http://localhost:8000/api/crm/hubspot/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "lead_ids": [ 1 ], "limit": 50, "tier": "example" }'

Push this workspace’s leads to HubSpot as contacts.

x-workspace-id
Any of:
string
Media typeapplication/json
SyncRequest
object
lead_ids
Any of:
Array<integer>
limit
Limit
integer
default: 50
tier
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}