Users

get
Search for a user

https://app.legalmonster.com/api/v1/users/search
Search and you will find, one or more users.
Request
Response
Headers
x-api-key
required
string
Your API key
Query Parameters
query
required
string
What ever you wish to search for. It will search in names, identifiers and emails.
200: OK
[
{
"user": {
"public_key": "938P7a2aQMwt9wc8sSS72BaZ",
"name": "Multi Consent",
"email": "multi@consent.dk",
"identifier": "webhook_402",
"created_at": "2018-10-25 20:30:45 UTC",
"updated_at": "2018-10-25 20:30:45 UTC"
}
},
{
"user": {
"public_key": "AXjvC4idz6j3mRUNjZKnSyP9",
"name": "Multi Consent",
"email": "multi@consent.dk",
"identifier": "webhook_403",
"created_at": "2018-10-25 20:34:45 UTC",
"updated_at": "2018-10-25 20:34:45 UTC"
}
},
{
"user": {
"public_key": "pe8tAQYQT4MB1hXkHnnhhLmv",
"name": "Multi Consent",
"email": "multi@consent.dk",
"identifier": "webhook_404",
"created_at": "2018-10-25 20:36:40 UTC",
"updated_at": "2018-10-25 20:36:40 UTC"
}
}
]
403: Forbidden
{ "message": "API key not found" }
404: Not Found
{ "message": "A query is required, so without one nothing is found." }