Python
# To use the Python SDK, install the package: # pip install memobase from memobase import MemoBaseClient client = MemoBaseClient(project_url='PROJECT_URL', api_key='PROJECT_TOKEN') uid = client.add_user({"ANY": "DATA"})
{ "data": { "id": "<string>" }, "errno": 0, "errmsg": "" }
Create a new user with additional data
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User data for creating a new user
User additional data in JSON
User ID in UUIDv4/5
Timestamp when the user was created
Timestamp when the user was last updated
Successful Response
Response containing a single ID
Show child attributes
The UUID identifier
Error code, 0 means success
0
400
401
403
404
405
409
422
500
501
502
503
504
520
Error message, empty when success