Skip to main content
POST
/
api
/
v1
/
users
/
profile
/
import
/
{user_id}
Import User Context
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": ""
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
required

The ID of the user

Body

application/json

The content of the user context to import

context
string
required

The user context you want to import to Memobase

Response

Successful Response

data
object | null

Response data payload

errno
enum<integer>

Error code, 0 means success

Available options:
0,
400,
401,
403,
404,
405,
409,
422,
500,
501,
502,
503,
504,
520
errmsg
string
default:""

Error message, empty when success

I