curl --request GET \
--url https://api.supernotes.app/v1/user/token \
--header 'Api-Key: <api-key>'
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Check if using a valid authentication token and return the associated User ID
curl --request GET \
--url https://api.supernotes.app/v1/user/token \
--header 'Api-Key: <api-key>'
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Successful Response
The response is of type object
.