younifyd
Menu

Create Entry

Create an entry

POST/api/v1/write/{modelName}

Use it in a workflow

  1. Add a step and choose the Builder.io connector.
  2. Pick the Create Entry action (under Write API).
  3. Fill in the fields below, then reference the result from later steps as {{createEntry.response.data}}.

Request

Path parameters

modelNamestringrequired

Name of the content model to write to, for example page or blog-article.

Query parameters

triggerWebhooksboolean

Set to false to prevent webhooks from firing for this write. Webhooks fire by default.

Request body

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

namestring

Name of the entry.

dataobject

Free-form entry data. Page and Section models may include blocks, plus title, inputs and state.

publishedstring

One ofdraftpublishedarchived

queryarray<object>

Targeting rules for the entry.

propertystring
operatorstring
valueany
startDatenumber

Start date as a Unix timestamp in milliseconds.

endDatenumber

End date as a Unix timestamp in milliseconds.

variationsobject

A/B test variations keyed by variation ID.

json
{
  "name": "string",
  "data": {},
  "published": "draft",
  "query": [
    {
      "property": "string",
      "operator": "string",
      "value": null
    }
  ],
  "startDate": 0,
  "endDate": 0,
  "variations": {}
}

Response

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

idstring
namestring
dataobject
json
{
  "id": "string",
  "name": "string",
  "data": {}
}

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

Was this page helpful?
Create Entry — Builder.io — Documentation