Hubspot logo

Create CRM Association (HubSpot)

HubSpotCreate CRM Association (HubSpot)

POST/v1/hubspot-create-crm-association
texau__hubspot-create-crm-associationcrm
cURL · api.texau.app
84ms
POST/v1/hubspot-create-crm-association
{
  "from_object_id": "sample-value",
  "to_object_id": "sample-value",
  "definition_id": "sample-value"
}
200 Accepted
{
  "ok": true,
  "data": {
    "success": true
  }
}

Associate two CRM objects together in HubSpot (e.g., associate a contact with a company, or a deal with a contact).

Install

Add create crm association (hubspot) to your MCP client.

Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.

claude_desktop_config.json
{
  "mcpServers": {
    "texau": {
      "command": "npx",
      "args": ["-y", "@texau/mcp-server"],
      "env": { "TEXAU_API_KEY": "..." }
    }
  }
}

Tool name: texau__hubspot-create-crm-association

When to use this.

The "Create CRM Association (HubSpot)" action enables users to establish relationships between different CRM objects within HubSpot, such as linking a contact to a company or associating a deal with a contact. This action requires three key input parameters: 'fromObjectId' (text), which identifies the primary object being associated (e.g., Contact ID); 'toObjectId' (text), which specifies the secondary object to associate with (e.g., Company ID); and 'definitionId' (select), which determines the type of association being created. Upon execution, the action returns a 'success' output (boolean) indicating whether the association was successfully established. This functionality is particularly useful for businesses looking to enhance their CRM data relationships, streamline sales processes, and improve customer management by ensuring relevant objects are interconnected. As part of the CRM category, this action is essential for organizations aiming to optimize their HubSpot usage and improve overall data integrity.

Try it

Run a sample request.

The response is a deterministic, cached example. No live call, no credits used.

Create CRM Association (HubSpot)

Try it

The ID of the object being associated (e.g., the Contact ID).

The ID of the object the 'from' object is being associated with (e.g., the Company ID).

The ID of the type of association you want to create.

Response is cached — no live API call.

Response

Output schema.

Every field returned in `data`. Click rows to expand nested objects.

FieldType
  • success
    Success
    boolean

Integrate

Copy-pasteable snippets.

Real endpoint: https://v3-api.texau.com/api/v1/hubspot-create-crm-association. Auth: x-api-key.

cURL · api.texau.app
84ms
POST/v1/hubspot-create-crm-association
curl -X POST 'https://v3-api.texau.com/api/v1/hubspot-create-crm-association' \
  -H 'x-api-key: $TEXAU_API_KEY' \
  -H 'content-type: application/json' \
  -d '{"from_object_id":"sample-value","to_object_id":"sample-value","definition_id":"sample-value"}'
200 Accepted
{
  "ok": true,
  "data": {
    "success": true
  }
}

Output

Results land in a TexAu table.

Sample rows below.

Real result preview coming soon.

InputStatusScore
[email protected]valid96
[email protected]risky54
[email protected]invalid12

Workflow

A real example.

Trigger → create crm association (hubspot) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.

Step 1TriggerNew row, webhook, or schedule.
Step 2Create CRM Association (HubSpot)HubSpot action runs.
Step 3EnrichWaterfall fills missing fields.
Step 4Push to CRMHubSpot / Salesforce / Pipedrive.

Built for

Who runs this.

GTM EngineerRevOpsAgency

Reliability

Rate limits & reliability.

  • Per-minute limitNo public cap
  • Per-day limitPlan-defined
  • RetriesAutomatic w/ backoff
  • ModeSync

Errors

HTTP status codes.

What each response means and what to do about it.

CodeCauseFix
200 OKAction ran. Data in `data`.Read response.
400 Bad RequestMissing or malformed input.Validate against the input schema.
401 UnauthorizedMissing or invalid `x-api-key`.Re-issue from /api-platform.
403 ForbiddenWorkspace lacks plan tier.Upgrade or contact sales.
404 Not FoundAction key not recognized.Verify the slug.
429 Rate LimitedPer-minute or per-day cap hit.Backoff; reduce concurrency.
500 Server ErrorUnexpected TexAu issue.Retry with backoff.
502 Bad GatewayUpstream provider 5xx.Retry; we surface root cause.
504 TimeoutUpstream slower than maxLatency.Switch to `isAsync` polling.

Pricing

What it costs to run.

Light tier

Pricing tier on /pricing. Per-action credit cost is private.

FAQ.

  • Is this real-time?

    Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).

  • Do I get charged on failure?

    No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.

  • Does it work with Claude / Cursor via MCP?

    Yes. Add the texau MCP server to your client config, then call `texau__hubspot-...` directly.

  • What CRMs can I push results to?

    HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.

Run Create CRM Association (HubSpot) in 60 seconds.

Pull your API key, paste the cURL, ship to your CRM.