Field Mappings
Each CRM provider stores data differently — HubSpot calls itfirstname, Zoho uses First_Name, Pipedrive uses first_name. The RouteMCP API normalizes all of these into a unified schema so you always get consistent field names regardless of the provider.
How It Works
When you callGET /contact?provider=hubspot, the API:
- Fetches raw data from HubSpot
- Applies field mappings to transform HubSpot fields to the unified schema
- Returns the data in the unified format
Viewing Mappings
Retrieve the active field mappings for a provider:Unified Schema
Contacts
| Unified Field | Type | Description |
|---|---|---|
id | string | Provider-specific record ID |
firstName | string | First name |
lastName | string | Last name |
email | string | Primary email address |
phone | string | Primary phone number |
company | string | Company/organization name |
title | string | Job title |
address | object | Mailing address |
lifecycleStage | string | Customer lifecycle stage |
Leads
| Unified Field | Type | Description |
|---|---|---|
id | string | Provider-specific record ID |
firstName | string | First name |
lastName | string | Last name |
email | string | Email address |
phone | string | Phone number |
company | string | Company name |
source | string | Lead source |
status | string | Lead status |
value | number | Estimated lead value |
currency | string | Currency code (ISO 4217) |
Deals
| Unified Field | Type | Description |
|---|---|---|
id | string | Provider-specific record ID |
name | string | Deal/opportunity name |
value | number | Deal value |
currency | string | Currency code |
stage | string | Pipeline stage |
probability | number | Win probability (0-100) |
contactId | string | Associated contact ID |
companyId | string | Associated company ID |
closeDate | string | Expected close date (ISO 8601) |
Meetings
| Unified Field | Type | Description |
|---|---|---|
id | string | Provider-specific record ID |
title | string | Meeting title |
startTime | string | Start time (ISO 8601) |
endTime | string | End time (ISO 8601) |
attendees | array | List of attendee emails |
location | string | Meeting location |
meetingUrl | string | Video conference URL |
description | string | Meeting notes/description |
Mapping Direction
Each mapping has adirection that determines how data flows:
| Direction | Read (GET) | Write (POST/PUT/PATCH) |
|---|---|---|
bidirectional | Provider → Unified | Unified → Provider |
read | Provider → Unified | Ignored |
write | Ignored | Unified → Provider |
Custom Overrides
Organization admins can customize field mappings from the dashboard — changing which provider field maps to which unified field, adding custom mappings, or disabling specific fields. These overrides are automatically applied when you call the API. Use theGET /field-mappings endpoint to see the effective mappings (with your org’s overrides applied).