Field Mappings
Create Field Mapping
Creates a new field Mapping.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
include?array<"fields">
Additional fields to include in the response. Use repeated query syntax: include=foo&include=bar.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name?|
Human-readable name of the resource.
Default
nullentity*FieldMappingEntity
Entity value for this resource.
external_system_id?|
Unique identifier of the related external system.
Default
nullfields?array<|>
Fields value for this resource.
Default
[]Response Body
application/json
curl -X POST "https://api.getmateo.com/v1/field-mappings" \ -H "Content-Type: application/json" \ -d '{ "entity": "contact" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "entity": "contact", "external_system_id": "496cacc4-1d36-4900-b9d2-89eefa7ce182", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "fields": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "field_kind": "native", "field_key": "string", "external_field_key": "string", "source_format": "string", "enabled": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}