Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Data Grid

Data Grid

⚡ Built-in — Platform Built-in

Embed a full CRUD data table on any admin page. Reads from and writes to any MAPI entity. Multiple grids on the same page are fully isolated.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (8)

POST configure

Create or update a data grid configuration for a MAPI entity. Columns auto-discovered from entity schema when not specified. Use different grid_id slugs for multiple grids on the same page.

Field Type Required Description
grid_id string ✓ Yes Unique slug for this grid on the page (e.g. "products", "orders"). Use different slugs for multiple grids on the same page.
entity_name string ✓ Yes MAPI entity name (plural form, e.g. "products", "customers").
columns array No Column definitions. Omit to auto-discover from entity schema. Each item: {key, label, type?, sortable?, searchable?, editable?, required?}
options object No Grid options: per_page (default 25), searchable, create_enabled, update_enabled, delete_enabled, delete_confirm, title, empty_message.
POST get_snippet

Get the embeddable HTML+JS snippet for a configured grid. Paste this into a PAPI page. Requires Admin Auth to be configured.

Field Type Required Description
grid_id string ✓ Yes The grid_id to generate a snippet for.
POST list_grids

List all configured data grids for a project.

No input parameters required.

POST remove_grid

Remove a data grid configuration.

Field Type Required Description
grid_id string ✓ Yes
POST grid-list

List records from a MAPI entity. Called from browser with wsa_ token.

Field Type Required Description
grid_id string ✓ Yes
page integer No
per_page integer No
search string No
sort_by string No
sort_dir string No
POST grid-create

Create a new record in a MAPI entity.

Field Type Required Description
grid_id string ✓ Yes
data object ✓ Yes
POST grid-update

Update an existing record in a MAPI entity.

Field Type Required Description
grid_id string ✓ Yes
record_id integer ✓ Yes
data object ✓ Yes
POST grid-delete

Delete a record from a MAPI entity.

Field Type Required Description
grid_id string ✓ Yes
record_id integer ✓ Yes

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
configure data_grid_configure
get_snippet data_grid_get_snippet
list_grids data_grid_list_grids
remove_grid data_grid_remove_grid
grid-list data_grid_grid_list
grid-create data_grid_grid_create
grid-update data_grid_grid_update
grid-delete data_grid_grid_delete
← Back to all integrations