POST
/
v2
/
collections
cURL
curl "https://api.mem.ai/v2/collections" \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer $MEM_API_KEY" \
     --data '{
         "title": "Acme Corp",
     }'
{
  "created_at": "2025-04-11T04:47:14.457Z",
  "description": "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships.",
  "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
  "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
  "title": "Acme Corp",
  "updated_at": "2025-04-11T04:47:19.702Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
title
string
required

Markdown formatted string representing the collection title.

Examples:

"Acme Corp"

id
string<uuid> | null

Optional UUID for the collection. If provided, Mem will create a new note with the given ID.

Examples: • "123e4567-e89b-12d3-a456-426614174000"

description
string | null

Markdown formatted string representing the collection description.

Examples:

"Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships."

created_at
string<date-time> | null

When this collection was created (ISO 8601 datetime string). Defaults to the current date and time.

Example: • "2025-04-01T14:30:45Z" • "2023-12-15T09:45:30+01:00"

updated_at
string<date-time> | null

When this collection was last updated (ISO 8601 datetime string). Defaults to the same as created_at.

Examples: • "2025-04-02T09:15:22Z" • "2023-12-15T09:45:30+01:00"

Response

200 - application/json

OK

request_id
string
required
id
string<uuid>
required
title
string
required
description
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required