Get Data
- POSTWeb Page Content
- POSTWeb Page Screenshot
- POSTYouTube Video Transcript
- POSTYouTube Channel Data
- POSTGet Twitter Users
- POSTGet Company Earnings Info
- POSTGet Company Financial Profile
- POSTGet Domain Information
- POSTGoogle News Data
- POSTYouTube Search Results
- POSTSearch Results
- POSTGet Recent Tweets
- POSTGet LinkedIn Profile
- POSTFind LinkedIn Profile
- POSTGet LinkedIn Activity
- POSTEnrich Company Data
- POSTGet Bluesky Posts
- POSTSearch Bluesky Posts
- POSTGet Instagram Profile
- POSTGet Instagram Followers
Advanced
Create Output
Agent Discovery
HubSpot
Get Hubspot Object Data
Retrieve data for any supported Hubspot object type based on a query or get the most recent object.
POST
/
action
/
get_hubspot_object
curl --request POST \
--url https://api-lr.agent.ai/v1/action/get_hubspot_object \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"object_type": "company",
"query": "Acme Corporation"
}'
{
"status": 200,
"response": {
"id": "12345678",
"properties": {
"name": "Acme Corporation",
"domain": "acme.com",
"industry": "Technology",
"phone": "+1-123-456-7890",
"createdate": "2023-01-15T15:30:45.123Z",
"hs_lastmodifieddate": "2024-03-10T09:12:34.567Z"
},
"createdAt": "2023-01-15T15:30:45.123Z",
"updatedAt": "2024-03-10T09:12:34.567Z",
"archived": false
}
}
Authorizations
Bearer token from your account (https://agent.ai/user/settings#credits)
Body
application/json
Response
200 - application/json
Retrieved Hubspot object data
The response is of type object
.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/get_hubspot_object \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"object_type": "company",
"query": "Acme Corporation"
}'
{
"status": 200,
"response": {
"id": "12345678",
"properties": {
"name": "Acme Corporation",
"domain": "acme.com",
"industry": "Technology",
"phone": "+1-123-456-7890",
"createdate": "2023-01-15T15:30:45.123Z",
"hs_lastmodifieddate": "2024-03-10T09:12:34.567Z"
},
"createdAt": "2023-01-15T15:30:45.123Z",
"updatedAt": "2024-03-10T09:12:34.567Z",
"archived": false
}
}