cURL
curl --request POST \ --url https://api-lr.agent.ai/v1/action/get_hubspot_company_object \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "Acme Corporation" }'
{ "response": { "createdate": "2024-05-05T21:56:24.266Z", "domain": "hubspot.com", "hs_lastmodifieddate": "2025-03-23T21:20:21.035Z", "hs_object_id": "20644873856", "name": "HubSpot" }, "status": 200 }
Retrieve company data from Hubspot based on a query or get the most recent company.
Bearer token from your account (https://agent.ai/user/settings#credits)
Retrieved Hubspot company data
The response is of type object.
object