WebsitePublisher icon

WebsitePublisher

Build and manage AI-powered websites via WebsitePublisher.ai. Create pages, manage data entities, upload assets, capture leads, configure forms, and execute integrations.

Actions26

Record → Create

AI-generated

Summary

Create a new record in a specified entity by sending a JSON object with field values to the plural entity REST endpoint.

Inputs

  • Entity (Plural) (required) — Plural entity name for the REST endpoint. Important: use the PLURAL form (e.g. "blogposts", not "blogpost").
  • Record Data (JSON) (required) — JSON object with field values matching the entity schema. Example: {"title": "My Post", "content": "Hello world"}

Output shape

a single created record response from the API

The operation posts the JSON record data to the endpoint /mapi/project/{projectId}/{entityPlural}. The output contains the created record as returned by the API. No pagination or batching is involved for this single record creation.

Examples

Example 1: Create a blogpost record

Set Entity (Plural) to 'blogposts' and provide JSON like {"title": "My Post", "content": "Hello world"} as Record Data (JSON).

Links

Discussion