Developers

Create a memo

POST /api/v1/memos

Save a memo to one of the key's projects. For a table project, send the row as fields instead of content.


Body parameters


Name Type Description
project_id string Where to save the memo. Needed when the key covers several projects: without it the answer is 409 with the projects to choose from.
content string The memo text, up to 100,000 characters. Required unless you send fields.
title string Title of the memo.
preview string A short summary shown in search results, up to 200 characters. It stays empty unless you send it.
meta string Search hints: keywords and questions people may ask. Weighted highest in search and never shown.
fields object For a table project: the row as column name → value.
tags string[] Tag ids from the same project.
dates object[] Up to 100 moments the memo is about, as { at, title, tz, repeat }. at is an ISO date and time with Z or an offset. tz is the IANA zone of the date, default UTC; a repeating date keeps its local time in it across daylight saving. repeat is optional and makes it recur: type is day, week, month or year; until is the last moment, inclusive. Not for table rows.
expires_in string Archive the memo automatically after this time: 30m, 2h, 3d or 1w, up to 365d.
changes string The line written to the memo's history and the project activity feed.

Request


curl -X POST "https://memocore.ai/api/v1/memos" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "project_id": "6a5f62c463d783ad68709363",
    "title": "Refund policy",
    "content": "Refunds are possible within 30 days of purchase.",
    "preview": "Refunds are possible within 30 days of purchase.",
    "dates": [{ "at": "2026-12-01T10:00:00+01:00", "title": "Review the policy", "tz": "Europe/Berlin", "repeat": { "type": "month" } }],
    "changes": "Added the refund policy"
  }'

Response


{
  "id": "6a5f648163d783ad68709520",
  "title": "Refund policy",
  "content": "Refunds are possible within 30 days of purchase.",
  "preview": "Refunds are possible within 30 days of purchase.",
  "tags": [],
  "links": [],
  "linked_by": [],
  "files": [],
  "dates": [{ "at": "2026-12-01T09:00:00.000Z", "title": "Review the policy", "tz": "Europe/Berlin", "repeat": { "type": "month" } }],
  "project": { "id": "6a5f62c463d783ad68709363", "name": "Help center" },
  "created_at": "2026-10-23T10:00:00.000Z",
  "updated_at": "2026-10-23T10:00:00.000Z"
}