curl "https://api.mem.ai/v2/notes" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $MEM_API_KEY" \
--data '{
"content": "# Sales Call with Acme Corp
Contact: John Smith (john@acme.com)
Interested in enterprise plan. Follow up next week."
}'{
"collection_ids": [
"59508b41-8770-4855-aa37-302b1e09aee7",
"026b426c-14fb-4f22-8d98-7a9121bfaec8"
],
"content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
"created_at": "2025-04-11T04:47:14.457Z",
"id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
"request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
"title": "Sales Call with Acme Corp",
"updated_at": "2025-04-11T04:47:19.702Z",
"version": 2
}{
"error": {
"details": {
"current_plan": "<string>",
"free_used": 1,
"reset_time": "<string>",
"used": 1,
"free_limit": 1,
"limit": 1
},
"message": "<string>",
"upgrade_info": {
"message": "<string>",
"upgrade_url": "<string>"
},
"type": "quota_exceeded"
}
}Create Note
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.
curl "https://api.mem.ai/v2/notes" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $MEM_API_KEY" \
--data '{
"content": "# Sales Call with Acme Corp
Contact: John Smith (john@acme.com)
Interested in enterprise plan. Follow up next week."
}'{
"collection_ids": [
"59508b41-8770-4855-aa37-302b1e09aee7",
"026b426c-14fb-4f22-8d98-7a9121bfaec8"
],
"content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
"created_at": "2025-04-11T04:47:14.457Z",
"id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
"request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
"title": "Sales Call with Acme Corp",
"updated_at": "2025-04-11T04:47:19.702Z",
"version": 2
}{
"error": {
"details": {
"current_plan": "<string>",
"free_used": 1,
"reset_time": "<string>",
"used": 1,
"free_limit": 1,
"limit": 1
},
"message": "<string>",
"upgrade_info": {
"message": "<string>",
"upgrade_url": "<string>"
},
"type": "quota_exceeded"
}
}Authorizations
Body
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 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"]
Response
OK