POST
/
action
/
get_hubspot_contact_object
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/get_hubspot_contact_object \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "[email protected]"
}'
{
  "status": 200,
  "response": {
    "createdate": "2024-05-08T11:27:38.205Z",
    "email": "[email protected]",
    "firstname": "Andrei",
    "hs_object_id": "19491938352",
    "lastmodifieddate": "2025-03-24T03:22:02.681Z",
    "lastname": "Oprisan"
  }
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/settings#credits)

Body

application/json

Response

200 - application/json

Retrieved Hubspot contact data

The response is of type object.