Skip to main content
POST
Python
This endpoint allows you to add new profile entries to a user’s long-term memory.

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 profile to add

content
string
required

The profile content

attributes
Attributes · object | null
required

User profile attributes in JSON, containing 'topic', 'sub_topic'

Response

Successful Response

data
IdData · object | null

Response containing a single ID

errno
enum<integer>
default:0

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