Get a User
This endpoint allows you to get user data of an organisation
1. Get User Data using userId
Authorizations
Path parameters
userIdanyRequired
User ID
Responses
200
Success
application/json
404
Organisation not found
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
Authorizations
Body
emailstringRequired
orgIdstringRequired
Responses
200
User fetched successfully
application/json
400
Bad request
409
Conflict
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