cURL
curl --request POST \ --url https://api.turnkey.com/public/v1/query/whoami \ --header 'Content-Type: application/json' \ --header 'X-Stamp: <api-key>' \ --data '{ "organizationId": "<string>" }'
{ "organizationId": "<string>", "organizationName": "<string>", "userId": "<string>", "username": "<string>" }
Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
A successful response.
The response is of type object.
object
Was this page helpful?