younifyd
Menu

Sync Content

Sync content

GET/spaces/{space_id}/environments/{environment_id}/sync

Use it in a workflow

  1. Add a step and choose the Contentful Delivery connector.
  2. Pick the Sync Content action (under Sync).
  3. Fill in the fields below, then reference the result from later steps as {{syncContent.response.data}}.

Request

Path parameters

space_idstringrequired

Space ID.

environment_idstringrequired

Environment ID, e.g. master.

Query parameters

initialboolean

Set true to start an initial sync.

sync_tokenstring

Token from nextPageUrl/nextSyncUrl for continuing a sync.

typestring

Restrict to All (default), Asset, Entry, Deletion, DeletedAsset, DeletedEntry.

content_typestring

Content type ID; only with type=Entry on initial sync.

limitinteger

Maximum number of items per page.

Response

Returns 200 with an object. Read it in later steps with {{syncContent.response.data.<field>}}.

Need more? See the Contentful Delivery guide for connection setup and behaviour shared by every action.

Was this page helpful?