This endpoint allows you to get user data of an organisation
Last updated 8 months ago
User ID
GET /api/v1/user/{userId} HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
Success
{ "userId": "text", "orgId": "text", "orgAlias": "text", "firstName": "text", "lastName": "text", "profession": "text", "email": "text", "phone": "text", "deleted": true, "firebaseDeviceTokens": [ "text" ], "userCreditsBalance": 1, "platform": "text", "createdAt": "text", "lastUsedAt": "text" }
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" }
User fetched successfully