# get_crm_mappings (/docs/mcp/tools/get-crm-mappings)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/get_crm_mappings.mdx. */}

**Get CRM field mappings** · Read-only

The field mappings used when leads are pushed to a CRM: which lead field fills which CRM field, for contacts and companies. Free.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `crm` | `"hubspot" \| "salesforce" \| "pipedrive" \| "zoho" \| "gohighlevel"` | Yes | The CRM. |
| `objectType` | `"contact" \| "company"` | No | contact or company. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "get_crm_mappings",
  "title": "Get CRM field mappings",
  "annotations": {
    "title": "Get CRM field mappings",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "crm": {
        "type": "string",
        "enum": [
          "hubspot",
          "salesforce",
          "pipedrive",
          "zoho",
          "gohighlevel"
        ],
        "description": "The CRM."
      },
      "objectType": {
        "type": "string",
        "enum": [
          "contact",
          "company"
        ],
        "description": "contact or company."
      }
    },
    "required": [
      "websiteId",
      "crm"
    ]
  }
}
```
