Docs
Update Contact Config
PUT /integrations/flex/contacts
PUT
/integrations/flex/contactsSaves the Flex contact sync configuration, creating it if needed. SyncStartDate is how far back in Flex the
sync reads and SyncIntervalMinutes how often it runs, at least 1. Resource type mappings need a start date and
replace the saved list: a Mapped entry needs a TargetTypeId, a Company entry must map a source to Name, a
Person entry must map one of First Name, Last Name, Email or Phone Number, and a Disabled entry carries no
target or field mappings. Resource type ids come from Integrations_DiscoverContactResourceTypes. Requires
organization admin (* at the organization) and an existing Flex integration.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| syncIntervalMinutes | integer | Optional | |
| syncStartDate | date-time | Optional | |
| resourceTypeMappings | UpdateFlexContactConfigRequestResourceTypeMappingRequest[] | Optional |
UpdateFlexContactConfigRequestResourceTypeMappingRequest
| Field | Type | Description |
|---|---|---|
| flexResourceTypeId | string| null | |
| flexResourceTypeName | string| null | |
| entityKind | string| null | |
| mode | string| null | |
| targetTypeId | uuid| null | |
| priority | integer | |
| fieldMappings | UpdateFlexContactConfigRequestFieldMappingRequest[]| null |
UpdateFlexContactConfigRequestFieldMappingRequest
| Field | Type | Description |
|---|---|---|
| flexSourcePath | string| null | |
| sourceKind | string| null | |
| staticValue | string| null | |
| targetType | string| null | |
| targetId | string| null | |
| targetCaption | string| null |