curl --request GET \
--url https://api.supernotes.app/v1/keys \
--header 'Api-Key: <api-key>'
[
{
"data": "<string>",
"enabled": true,
"expires_when": "2023-11-07T05:31:56Z",
"last_used_when": "2023-11-07T05:31:56Z",
"name": "<string>"
}
]
Get all API keys for the user
curl --request GET \
--url https://api.supernotes.app/v1/keys \
--header 'Api-Key: <api-key>'
[
{
"data": "<string>",
"enabled": true,
"expires_when": "2023-11-07T05:31:56Z",
"last_used_when": "2023-11-07T05:31:56Z",
"name": "<string>"
}
]
Successful Response
The response is of type ApiKeyResponse · object[]
.