API Examples

2 months ago
0

API Examples

Here are practical examples of using the Memoreru API. All requests require an Authorization header.


List content

curl -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ https://memoreru.com/api/contents

Filter by type:

curl -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ "https://memoreru.com/api/contents?type=table"

Create a page

curl -X POST \ -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{"title": "Meeting Notes 2026-03-15", "description": "Weekly meeting record", "scope": "private"}' \ https://memoreru.com/api/contents/pages

Get table rows

curl -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ "https://memoreru.com/api/contents/tables/{table_id}/rows?limit=50"

Add a single row to a table

curl -X POST \ -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "data": { "column_id_1": "Task A", "column_id_2": "In Progress" } }' \ "https://memoreru.com/api/contents/tables/{table_id}/rows"

Add multiple rows (up to 100)

Use the same endpoint with a rows array:

curl -X POST \ -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "rows": [ {"column_id_1": "Task A", "column_id_2": "In Progress"}, {"column_id_1": "Task B", "column_id_2": "Not Started"} ] }' \ "https://memoreru.com/api/contents/tables/{table_id}/rows"

Get column definitions

curl -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ "https://memoreru.com/api/contents/tables/{table_id}/columns"

Retrieve column definitions to find each column's ID, display name, and data type. Use column IDs when adding or updating rows.


Update a table

curl -X PATCH \ -H "Authorization: Bearer mk_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{"table_id": "{table_id}", "title": "Updated Title"}' \ "https://memoreru.com/api/contents/tables"

Use Case Scenarios

Automated Reporting

Use cron jobs or GitHub Actions to periodically aggregate table data and write summaries to pages, automating daily or weekly reports.

External System Integration

Sync data from CRMs or project management tools into Memoreru tables via API, then visualize with dashboards.

AI Workflows

Combine with the MCP server to let AI analyze, summarize, and input data, streamlining information management.


Full Specification

For detailed request/response schemas and the complete endpoint reference, see the API Documentation.

0
0
0
0
Posts
0
Followers
0
Likes

Properties

Page
DOCS
English