Description
To search and get users based on their email IDs.
Note: To use this API a personal user profile token must be generated. For more information about how to get an API key see, Generating API key.
GET https://app.workspace.ai/api/public/user/people?emailId={{emailId}}&offset=20&limit=20
Header
Invoke the API with JWT in the header with the following syntax:
auth: {{publicAuth}}
API Parameters
| Parameter | Description | 
| emailId | Email ID of the user you are searching. This is an optional parameter. By default API will return all the account members and a user can pass emailId value to filter for a specific user. | 
| offset | The offset is used to fetch a specific page result. The default offset value is ‘0’
 For example, offset=20.  | 
| limit | The maximum number of records to return. Max value for limit is 100.
 For example, limit=20.  | 
Response Content Type
application/json
Sample Request
curl --location --request GET 'https://Workspace.ai.kore.ai/public/user/me' \
--header 'auth: {{apiKey}}'
Sample Response
{
"users": [
{
"accountId": "ac-99d8eb31-64c0-5f61-abcd-6b1bb0545777",
"emailId": "Workspace.ai.team@kore.com",
"id": "u-1063ff23-a182-595c-98e8-cfdd9964fefa",
"orgId": "o-232b5ddf-4925-5978-bded-d8d5131aa62c",
"firstName": "Workspace.ai",
"lastName": "Team",
"activationStatus": "active"
}
],
"hasMore": false
}