younifyd
Menu

Importanentry

Import an entry

POST/v3/content_types/{content_type_uid}/entries/import

Use it in a workflow

  1. Add a step and choose the Contentstack connector.
  2. Pick the Importanentry action (under Entries).
  3. Fill in the fields below, then reference the result from later steps as {{importanentry.response.data}}.

Request

Path parameters

content_type_uidstringrequired

Query parameters

localestring

Enter the code of the language to import the entry of that particular language.

overwritestring

Select 'true' to replace an existing entry with the imported entry file.

inclue_branchstring

Set this to 'true' to include the '_branch' top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

Headers

branchstring

Enter your branch unique ID.

Request body

Enter the body as JSON in the step's Body field.

entrystring (binary)

Upload the JSON file of the entry that you want to import.

json
{
  "entry": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{importanentry.response.data.<field>}}.

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