userid
GET /api/userid
This endpoint retrieves a user's ID based on their email address.
Request
Headers
Header
Value
Description
Content-Type
application/json
The content type of the request body.
X-Auth-Token
string
The authentication token of the requesting user.
X-User-Id
string
The ID of the requesting user.
Body
{
"email": "[email protected]"
}
Parameter
Type
Description
string
The email address of the user to look up.
Response
Success
{
"body": {
"status": "success",
"message": "User ID",
"userID": "abcdef123456"
}
}
Error
{
"body": {
"status": "failure",
"message": "Invalid API call invalid params"
}
}
Last updated