Docs

Update Contact Config

PUT /integrations/flex/contacts

PUT/integrations/flex/contacts

Saves 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 OrganizationAdmin and an existing Flex integration.

Request Body

FieldTypeRequiredDescription
syncIntervalMinutesintegerOptional
syncStartDatedate-timeOptional
resourceTypeMappingsUpdateFlexContactConfigRequestResourceTypeMappingRequest[]Optional

UpdateFlexContactConfigRequestResourceTypeMappingRequest

FieldTypeDescription
flexResourceTypeIdstring| null
flexResourceTypeNamestring| null
entityKindstring| null
modestring| null
targetTypeIduuid| null
priorityinteger
fieldMappingsUpdateFlexContactConfigRequestFieldMappingRequest[]| null

UpdateFlexContactConfigRequestFieldMappingRequest

FieldTypeDescription
flexSourcePathstring| null
sourceKindstring| null
staticValuestring| null
targetTypestring| null
targetIdstring| null
targetCaptionstring| null