Get a User

This endpoint allows you to get user data of an organisation

1. Get User Data using userId

Get User Data

get
Authorizations
Path parameters
userIdanyRequired

User ID

Responses
200
Success
application/json
get
GET /api/v1/user/{userId} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "userId": "text",
  "orgId": "text",
  "orgAlias": "text",
  "firstName": "text",
  "lastName": "",
  "profession": "",
  "email": "text",
  "phone": "",
  "deleted": false,
  "firebaseDeviceTokens": [
    "text"
  ],
  "userCreditsBalance": 0,
  "platform": "",
  "createdAt": "text",
  "lastUsedAt": "text"
}

2. Get User using emailId

Get User Data by Email

post
Authorizations
Body
emailstringRequired
orgIdstringRequired
Responses
200
User fetched successfully
application/json
post
POST /api/v1/user/email HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "email": "text",
  "orgId": "text"
}
{
  "userId": "text",
  "orgId": "text",
  "orgAlias": "text",
  "firstName": "text",
  "lastName": "",
  "profession": "",
  "email": "text",
  "phone": "",
  "deleted": false,
  "firebaseDeviceTokens": [
    "text"
  ],
  "userCreditsBalance": 0,
  "platform": "",
  "createdAt": "text",
  "lastUsedAt": "text"
}

Last updated