latestOpenAPI 3.1.02026-08-1092916.0 KB
99b138ac9152
Accounts
public
Get the user authentication data
Retrieves and returns the account information for the authenticated user.
A user ID or email must be provided as a query parameter.
get/auth/user/
Query parameters
userIdstring
The user ID to fetch the auth account details for
emailstring
The email to fetch the auth account details for
Headers
x-m2-organization-idstring required
The ID of an organization
Response
The response to querying a user's account information. We return an array which will be empty if no user is found, and may contain multiple entries if the query parameter is an email.