Get the user’s email-sending key
curl --request GET \
--url https://api.supernotes.app/v1/keys/email \
--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 object
.
curl --request GET \
--url https://api.supernotes.app/v1/keys/email \
--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 the user’s email-sending key
curl --request GET \
--url https://api.supernotes.app/v1/keys/email \
--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 object
.
curl --request GET \
--url https://api.supernotes.app/v1/keys/email \
--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>"
}