> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mem.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Advanced Usage

While **Mem It** is recommended for most use cases, you may occasionally need precise control over your notes and collections. For these scenarios, we expose explicit endpoints for managing individual resources.

## Example: Creating a Collection and a Note

```bash theme={null}
curl "https://api.mem.ai/v2/collections" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $MEM_API_KEY" \
    -d '{
        "id": "90815ddd-4c9b-49e3-b119-897ca04367f1",
        "name": "Project Ideas",
        "description": "A collection of project ideas"
    }'
```

```bash theme={null}
curl "https://api.mem.ai/v2/notes" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $MEM_API_KEY" \
    -d '{
        "content": "# Great Idea\n\nBuild a mobile app that helps track daily water intake.",
        "collection_ids": ["90815ddd-4c9b-49e3-b119-897ca04367f1"]
    }'
```

## Common Use Cases

* Integrations where you want complete control over the note content
* Migrating notes or collections from other services
* Automating the creation of notes from structured forms

## Next steps

For an exhaustive list of endpoints and their usage, check out the [full API reference](../../api-reference/notes/create-note).
