cURL
curl --request POST \ --url https://api.memobase.dev/api/v1/users/profile/import/{user_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "context": "<string>" } '
{ "data": {}, "errno": 0, "errmsg": "" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user
The content of the user context to import
The user context you want to import to Memobase
Successful Response
Response data payload
Error code, 0 means success
0
400
401
403
404
405
409
422
500
501
502
503
504
520
Error message, empty when success