docs/api-reference.mdx
Mem0 provides a comprehensive REST API for integrating advanced memory capabilities into your applications. Create, search, update, and manage memories across users, agents, and custom entities with simple HTTP requests.
<Info> **Quick start:** Get your API key from the <a href="https://app.mem0.ai/dashboard/api-keys?utm_source=oss&utm_medium=api-reference" rel="nofollow">Mem0 Dashboard</a> and make your first memory operation in minutes. </Info>Get started with Mem0 API in three simple steps:
Explore the full API organized by functionality:
<CardGroup cols={2}> <Card title="Memory APIs" icon="microchip" href="/api-reference/memory/add-memories"> Core and advanced operations: CRUD, search, batch updates, history, and exports </Card> <Card title="Events APIs" icon="clock" href="/api-reference/events/get-events"> Track and monitor the status of asynchronous memory operations </Card> <Card title="Entities APIs" icon="users" href="/api-reference/entities/get-users"> Manage users, agents, and their associated memory data </Card> <Card title="Organizations & Projects" icon="building" href="/api-reference/organizations-projects"> Multi-tenant support, access control, and team collaboration </Card> <Card title="Webhooks" icon="webhook" href="/api-reference/webhook/create-webhook"> Real-time notifications for memory events and updates </Card> </CardGroup> <Note> **Building multi-tenant apps?** Learn about [Organizations & Projects](/api-reference/organizations-projects) for team isolation and access control. </Note>All API requests require authentication using Token-based authentication. Include your API key in the Authorization header:
Authorization: Token <your-api-key>
Get your API key from the <a href="https://app.mem0.ai/dashboard/api-keys?utm_source=oss&utm_medium=api-reference" rel="nofollow">Mem0 Dashboard</a>.
<Warning> **Keep your API key secure.** Never expose it in client-side code or public repositories. Use environment variables and server-side requests only. </Warning>