Import Users
Import up to a 1000 users into Lasso per request. Rate limit: 60 per minute
POST /import/users
curl \
-X POST https://api.lassomoderation.com/api/v1/import/users \
-H "Content-Type: application/json" \
-H "Authorization: Bearer lasso.a35afd...a6ea" \
-d '{"users":[{"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
{
"users": [
{
"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
}