Skip to main content
GET
/
auth
cURL
curl --request GET \
  --url https://api.odin.fun/v1/auth \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

default - application/json

Returns the principal of the authenticated user

The response is of type string.