v1
User
Create User
Changed onCreate a new user or link existing user to developer
post/v1/user
Request
- Base URLhttps://memory.papr.ai
- URLhttps://memory.papr.ai/v1/user
- Authnone declared. Required headers: X-API-Key
Headers
X-API-Keystring required
Request body
Example request
{
"email": "user@example.com",
"external_id": "user123",
"metadata": {
"name": "John Doe",
"preferences": {
"theme": "dark"
}
},
"type": "developerUser"
}Response
Successful Response
Example response
{
"code": 200,
"created_at": "2024-03-20T10:00:00.000Z",
"email": "user@example.com",
"external_id": "user123",
"metadata": {
"name": "John Doe",
"preferences": {
"theme": "dark"
}
},
"status": "success",
"updated_at": "2024-03-20T10:00:00.000Z",
"user_id": "abc123"
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info