younifyd
Menu

Create Datasource Entry

Create datasource entry

POST/v1/spaces/{space_id}/datasource_entries

Use it in a workflow

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

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Request body

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

datasource_entryobjectrequired
namestring

Entry key (required).

valuestring

Entry value (required).

datasource_idinteger

Numeric ID of the datasource.

json
{
  "datasource_entry": {
    "name": "string",
    "value": "string",
    "datasource_id": 0
  }
}

Response

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

datasource_entryobject
json
{
  "datasource_entry": {}
}

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