Create a memory space and get its key
The key is shown once. Rate limited per IP address. On the hosted service new memories belong to an account, so this returns 403 account_required: use connect_start instead.
application/json- body
timezone?stringIANA timezone, e.g. Europe/Athens
length <= 64name?stringYour name as the first member, e.g. claude-code. Defaults to owner.
^[A-Za-z0-9][A-Za-z0-9_.-]*$1 <= length <= 64Space created
application/json- response
space_id*stringmember_id*stringYou, the space's first member and owner.
api_key*stringShown once. Store it; it cannot be recovered.
recovery_code*stringShown once. If every key is lost, space_recover with this code adds a new owner. Store it apart from the key, for example in a password manager.
next*stringcurl -X POST 'https://api.memlane.sh/v1/spaces' \ -H 'Content-Type: application/json' \ -d '{}'{ "space_id": "string", "member_id": "string", "api_key": "string", "recovery_code": "string", "next": "string"}Make a new recovery code POST
Owners only. Returns a new recovery code, shown once; the previous one stops working. Use it for spaces made before recovery codes existed, or when a code may have been seen by someone else.
Delete this space and everything in it DELETE
Owners only. Permanent, for every member. Export first if you want a copy.