Create a note with an optional note ID, timestamps, and collection links.
If omitted, Mem generates the note ID.
The first line of content becomes the note title.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Full markdown body for the note. Send the full desired note body (partial patch semantics are not supported here). IMPORTANT: The first line is interpreted as the note title. Maximum: 200,000 characters (and no more than 200,000 UTF-8 bytes on create).
200000"# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document"
Optional UUID for the note. If omitted, Mem generates a new UUID.
Optional collection IDs to associate with the note. IDs that do not map to accessible collections are ignored.
Optional collection titles to associate with the note. Matching is case-insensitive exact match; titles with no match are ignored. Maximum per title: 1,000 characters (and no more than 1,000 UTF-8 bytes).
Collection title used for exact case-insensitive matching in collection_titles.
Maximum: 1,000 characters.
1000["Acme Corp", "Project Phoenix"]
Optional creation timestamp (ISO 8601).
If provided, it must include a timezone offset and cannot be in the future.
If omitted, Mem uses updated_at when provided; otherwise current server time.
"2025-04-01T14:30:45Z"
Optional "last updated" timestamp for this write (ISO 8601). If provided, it must include a timezone offset and cannot be in the future. If omitted, Mem uses the current server time for the initial content write.
"2025-04-02T09:15:22Z"
OK
Identifier for this API request. Useful for tracing and support.
UUID of the created note.
Current note title, derived from the first line of markdown content.
Full markdown content stored for the note.
Collection UUIDs currently associated with this note.
Creation timestamp for the note in ISO 8601 format.
Last modification timestamp for the note in ISO 8601 format.