POST
/user
curl \
-X POST https://api.lassomoderation.com/api/v1/user \
-H "Content-Type: application/json" \
-H "Authorization: Bearer lasso.a35afd...a6ea" \
-d '{"user":{"id":"clczbfbhh0000sa90h45xv3cg","name":"John Doe","tags":["suspicious-user"],"metadata":{"tag_line":"I am a person of mystery...","connections":8},"created_at":"2022-07-21T18:12:39.000Z","country_code":"US","email_domain":"gmail.com","signup_method":"google","profile_image_url":"https://www.example.com/profile/image.png"}}'
Request example
{
"user": {
"id": "clczbfbhh0000sa90h45xv3cg",
"name": "John Doe",
"tags": [
"suspicious-user"
],
"metadata": {
"tag_line": "I am a person of mystery...",
"connections": 8
},
"created_at": "2022-07-21T18:12:39.000Z",
"country_code": "US",
"email_domain": "gmail.com",
"signup_method": "google",
"profile_image_url": "https://www.example.com/profile/image.png"
}
}
Response examples (200)
{
"success": true
}