OpenAPI Specification
The spec is the source of truth for the API. It lists every endpoint, its parameters, and its request and response schemas.MemoryPlugin OpenAPI Spec
Access the complete OpenAPI specification
API Reference
Full documentation for every endpoint
Authentication
All requests use a Bearer token:Getting your token
1
Open Settings
In your MemoryPlugin Dashboard, open the account menu and choose Settings.
2
Go to Integrations
Select the Integrations tab and find the Authentication Token section.
3
Copy the token
Click Copy to copy your token.
4
Keep it secure
Treat the token like a password. If it leaks, use Regenerate to invalidate the old one (this will break any integration still using it).
What You Can Do
The API covers the same core surface as the rest of MemoryPlugin. See the API Reference for exact paths, parameters, and schemas.- Memories - store, query, edit, move, and delete memories.
- Buckets - list and create memory buckets.
- Combined reads - fetch memories and buckets in one request.
- Chat history - upload, list, search, recall, and delete conversations.
Supported Integration Tools
The OpenAPI spec imports into many platforms:Automation Platforms
- n8n: Create custom nodes using the OpenAPI spec
- Zapier: Build custom integrations (where OpenAPI import is supported)
- Make (formerly Integromat): Custom API connections
- Microsoft Power Automate: Custom connector creation
Development Tools
- Postman: Import for API testing and development
- Insomnia: API client for testing endpoints
- Swagger UI: Interactive API documentation
- Code Generators: Generate client libraries in various languages
AI Platforms
- LibreChat: Import as actions for AI conversations
- Other AI Clients: Many third-party AI apps support OpenAPI imports
Example: n8n Integration
1
Install the n8n OpenAPI node
Use the community package: n8n-openapi-node
2
Import the OpenAPI spec
Point the node at
https://www.memoryplugin.com/openapi.json3
Set authentication
Configure Bearer token authentication with your MemoryPlugin token
4
Build workflows
Create n8n workflows that read from and write to your memories
Use Cases for Custom Integrations
Workflow Automation
Wire memory creation and retrieval into personal or team automation
Custom AI Applications
Build your own AI apps backed by persistent memory
Data Migration
Import existing knowledge bases or personal data into MemoryPlugin
Platform Integration
Add MemoryPlugin to platforms without native support
Best Practices
Error Handling
Error Handling
Handle non-2xx responses and network failures. Errors return an HTTP status and a JSON body of the shape
{ "error": "message" }.Token Security
Token Security
Never expose your token in client-side code or public repositories. Regenerate it if it leaks.
Data Validation
Data Validation
Validate data before sending it so you avoid errors and keep your memories clean.
Support and Resources
API Reference
Detailed reference for every endpoint
OpenAPI Spec
Machine-readable API specification
Example Integrations
Community examples and tools
Developer Support
Get help with your custom integration