Authorizations
Type "Bearer" followed by a space and token.
curl --request GET \
--url https://api.nuon.co/v1/general/current-user \
--header 'Authorization: <api-key>'
{
"account_type": "auth0",
"created_at": "<string>",
"email": "<string>",
"id": "<string>",
"org_ids": [
"<string>"
],
"permissions": {},
"roles": [
{
"createdBy": {},
"created_at": "<string>",
"created_by_id": "<string>",
"id": "<string>",
"policies": [
{
"created_at": "<string>",
"created_by_id": "<string>",
"id": "<string>",
"name": "org_admin",
"permissions": {},
"role_id": "<string>",
"updated_at": "<string>"
}
],
"role_type": "org_admin",
"updated_at": "<string>"
}
],
"subject": "<string>",
"updated_at": "<string>",
"user_journeys": [
{
"name": "<string>",
"steps": [
{
"complete": true,
"completed_at": "<string>",
"completion_method": "<string>",
"completion_source": "<string>",
"metadata": {},
"name": "<string>",
"title": "<string>"
}
],
"title": "<string>"
}
]
}
curl --request GET \
--url https://api.nuon.co/v1/general/current-user \
--header 'Authorization: <api-key>'
{
"account_type": "auth0",
"created_at": "<string>",
"email": "<string>",
"id": "<string>",
"org_ids": [
"<string>"
],
"permissions": {},
"roles": [
{
"createdBy": {},
"created_at": "<string>",
"created_by_id": "<string>",
"id": "<string>",
"policies": [
{
"created_at": "<string>",
"created_by_id": "<string>",
"id": "<string>",
"name": "org_admin",
"permissions": {},
"role_id": "<string>",
"updated_at": "<string>"
}
],
"role_type": "org_admin",
"updated_at": "<string>"
}
],
"subject": "<string>",
"updated_at": "<string>",
"user_journeys": [
{
"name": "<string>",
"steps": [
{
"complete": true,
"completed_at": "<string>",
"completion_method": "<string>",
"completion_source": "<string>",
"metadata": {},
"name": "<string>",
"title": "<string>"
}
],
"title": "<string>"
}
]
}
Type "Bearer" followed by a space and token.
OK