/user/create
In order for long term memory to work correctly for the app, ExperAI first needs to identify the user. This endpoint requires your appId
and user email.
The endpoint returns a unique userId
that will be used to identify the user within ExperAI!
IMPORTANT: Please ensure the returned userID
is securely stored as it is one time generated and can not be retrieved again!
const creationData = await backend.post('/user/create', {
email: '[email protected]',
appId: '<YOUR APP ID>'
}).then(res => res?.data).catch(err => {});
You should only every call this function once during user lifecycle. After this, the returned userId
will be used to interface with all functions.
Last updated