Skip to content

Create Content Import Source Payload

You can modify a Content Import Source of your Fin Content Library.

sync_behaviorstringrequired

If you intend to create or update External Pages via the API, this should be set to api. You can not change the value to or from api.

Enum:"api""automated""manual"
Example:"api"
statusstring

The status of the content import source.

Default:"active"
Enum:"active""deactivated"
Example:"active"
urlstringrequired

The URL of the content import source. This may only be different from the existing value if the sync behavior is API.

Example:"https://help.example.com"
audience_ids(integer or null) or (Array of integers or null)
Example:
[ 5678 ]
One of:

The unique identifiers for the audiences to associate with this content import source. Can be a single integer or an array of integers. Set to null or an empty array to remove all audiences.

integer or null
apply_audience_to_existing_contentboolean

When true, the audience will be applied to all existing external pages belonging to this content import source.

Default:false
Example:false
{ "sync_behavior": "api", "status": "active", "url": "https://help.example.com", "audience_ids": [ 5678 ], "apply_audience_to_existing_content": false }