Welcome to MemSync
This quickstart guide will help you integrate MemSync into your application and start building personalized AI experiences. You’ll learn how to store memories, search for relevant context, and retrieve user profiles.Prerequisites
Before getting started, make sure you have:- A MemSync account and API key
- Basic knowledge of REST APIs
- Your preferred programming language setup (Python, JavaScript, curl, etc.)
Authentication
MemSync uses API key-based authentication for all API requests. You’ll need to include your API key in the X-API-Key header:Coming Soon: OAuth 2.0 authentication will be available for enhanced security and easier integration with third-party applications.
Step 1: Store Your First Memory
Let’s start by storing a conversation that MemSync will process to extract meaningful memories:Step 2: Search for Relevant Memories
Now let’s search for memories related to the user’s interests:Step 3: Get User Profile
Retrieve the user’s complete profile with auto-generated bio and insights:Understanding the Response
When you search for memories, MemSync returns:Key Fields:
- user_bio: Auto-generated summary of the user
- memory: The extracted fact or memory
- categories: Organized tags (career, interests, etc.)
- type: semantic (lasting facts) or episodic (time-bound events)
- vector_distance: Similarity score for search relevance
- rerank_score: Enhanced relevance score when reranking is enabled
Next Steps
Now that you’ve made your first API calls, explore these advanced features:Memory Categories
Learn how memories are organized into categories like work, hobbies, and relationships
Integration Setup
Import data from social media, documents, and chat platforms
API Reference
Explore all available endpoints and advanced features
Best Practices
Learn optimization techniques for memory storage and retrieval
Example: Building a Personalized Chatbot
Here’s a complete example of how to build a chatbot that remembers user context:Common Issues
No memories returned
No memories returned
It may take a few seconds for memories to be processed and indexed. Try searching again, or check that your conversation contained meaningful information.
Rate limiting
Rate limiting
MemSync has rate limits to ensure service quality. If you hit limits, implement exponential backoff in your retry logic.

