Every platform, and every customer, names fields differently. Map platform-specific and customer-created fields onto the unified model once, and read them from the same key on every connector.
date_of_birthbirthdateshortBirthDatedate_of_birth|dateOfBirthAPI integrations present data in diverse formats with different field names, structures, and data types. Field mapping standardizes this chaos into a unified format.
Common fields available across all integrations
idfirst_namelast_nameemailcreated_atPlatform-specific fields unique to each service
hs_analytics_timestampLastReferencedDatewon_deals_countUser-defined fields created within the platform
T_shirt_Size__ct_shirt_sizecustom_priority_levelEvery platform stores the same data differently. We handle the chaos so you can focus on building features
Custom fields end with __c and are part of the root object
{
"Id": "123",
"FirstName": "Jane",
"LastName": "Doe",
"T_shirt_Size__c": "Medium",
"Assigned_CSM__c": "Tom S.",
"CreatedDate": "2019-07-09T19:35:03.000Z"
}All fields including custom ones are nested in properties object
{
"id": "123",
"properties": {
"firstname": "Jane",
"lastname": "Doe",
"t_shirt_size": "Medium",
"assigned_csm": "Tom S.",
"lifecyclestage": "lead"
},
"createdAt": "2019-07-09T19:35:03.000Z"
}Custom fields have unique keys and are nested in the data object
{
"data": {
"id": "d2b4f0b0-6219-11eb-84bd-4b223d902a50",
"first_name": "Jane",
"last_name": "Doe",
"c692e0f58789dfebb3adba15721": "Medium",
"e24805787eef64b08aafb6fa3d8": "Tom S."
}
}Map platform-specific fields and custom user data with precision and flexibility
Maps fields directly from the raw integration response to your unified schema. Perfect for platform-specific fields that aren't part of the standard unified model.
properties.lifecyclestagecustom_mappings.lifecycle_stageMaps user-created custom fields from the custom_fields array in the response. Ideal for customer-specific fields that vary between different user accounts.
custom_fields.t_shirt_sizecustom_mappings.tshirt_sizeField mapping extends the Apideck unified model with fields it does not cover. Mapped values come back in a custom_mappings object on the same unified response, under the keys you chose, for every connector you mapped.
In your Apideck dashboard, add a field to the unified model with its own key, such as lifecycle_stage or tshirt_size. That key is what your code reads, whichever platform the data comes from.
Per connector, point the field at a property in the raw response (property mapping) or at one of the custom fields Apideck already returns (custom field mapping). When a connector makes several downstream requests to build a response, you pick the request to read from.
When only your customer knows which field holds the value, they pick it themselves in Vault while connecting. You can also set or change a mapping for a customer through the Vault API custom mappings endpoints.
{
"service": "hubspot",
"resource": "contacts",
"data": {
"id": "551",
"first_name": "Emilia",
"last_name": "Earhart",
"custom_fields": [
{ "id": "t_shirt_size", "value": "Small" }
],
"custom_mappings": {
"lifecycle_stage": "lead",
"tshirt_size": "Small"
}
}
}Step-by-step setup with screenshots is in the field mapping guide.
Every integration works differently. Our field mapping ensures your customers' data flows perfectly, no matter the source
Transform diverse API responses into a consistent format, regardless of the underlying platform structure.
Map platform-specific custom fields to your unified schema, ensuring no customer data is lost.
Field mappings are applied during the API call itself, and the mapped data is never stored.
Built-in validation ensures data integrity and prevents errors during field transformation.
Configure mappings through intuitive UI or programmatically via APIs with comprehensive SDKs.
Support for complex nested objects, arrays, and flexible mapping rules across all data types.
We normalize messy, inconsistent APIs into a single structure, while still exposing the raw downstream information for maximum convenience.
Common questions about mapping custom fields across unified API connectors