Get users profile
POST /api/v1/user/profiles HTTP/1.1
- Response structure
| Parameter | Type | Description |
|---|---|---|
usersByEmails | Object | Mapping of Email to User’s information |
errorsByEmails | Object | Mapping of Email to User’s information |
- Example request
POST /api/v1/user/profiles HTTP/1.1
Content-Type: application/json
X-co-auth-token: 2d723b024b1ff5b2a149ecacd74f4f17
X-Tenant-ID: default
Content-Length: 39
Host: localhost:8080
{
"emails" : [ "email1@test.test" ]
}
- Example response
HTTP/1.1 200 OK
X-co-request-id: GiF5XRPm02GtXKLg5cN8v2sjfSiU32Ug
Content-Type: application/json
Content-Length: 454
{
"usersByEmails": {
"email1@test.test": {
"avatarId": null,
"isDeleted": null,
"email": null,
"firstName": null,
"id": null,
"lang": null,
"lastName": null,
"login": null,
"middleName": null,
"userRole": null
}
},
"errorsByEmails": {
"email2@test.test": {
"code": null,
"requestId": null,
"message": null,
"contentType": null,
"data": null,
"reason": null
}
}
}