Me
Who the current credential belongs to.
Returns the calling user: their id, the tenant they are acting in, their username and the name and email of their contact. It is the endpoint to call after signing in, to learn who and where you are.
Authorizations
AuthorizationstringRequired
Token issued by the central equipme authentication, sent as Bearer <token>.
Responses
200
OK
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
get/v1/me
GET /api/v1/me HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"email": "text",
"firstName": "text",
"lastName": "text",
"tenantId": 1,
"userId": 1,
"username": "text"
}
}Last updated
Was this helpful?