POST
/
api
/
v1
/
users
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

client = Memobase(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

uid = client.add_user({"ANY": "DATA"})
{
  "data": {
    "id": "<string>"
  },
  "errno": 0,
  "errmsg": ""
}

Create a new user in the memory system with additional user-specific data. This endpoint initializes a new user entity that can store and manage memories.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

User data for creating a new user

Response

200
application/json

Successful Response

The response is of type object.