Integrations

Check whether records can be sent to HubSpot

GET
/v1/integrations/hubspot/status

Reports whether your HubSpot account is connected, which record types your workspace has set up to send, and whether the connected account is the one that setup was built for. Read-only — call it before offering to send anything.

Authorization

x-api-key<token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/integrations/hubspot/status"
{
  "configuredPortalId": "string",
  "connected": true,
  "maxRecordsPerPush": 0,
  "objects": [
    {
      "code": "string",
      "entity": "agent",
      "mappedFieldCount": 0,
      "matchOn": "string",
      "object": "contact",
      "ready": true,
      "reason": "string"
    }
  ],
  "portalId": "string",
  "portalMismatch": true
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}