Check a key
GET
/
const url = 'https://kmlrvcofvtzdlbomxrbp.supabase.co/functions/v1/external-api/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://kmlrvcofvtzdlbomxrbp.supabase.co/functions/v1/external-api/ \ --header 'Authorization: Bearer <token>'Returns the API version, the scopes of the key you used and the available endpoints. Any unknown path returns the same.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The key works.
Media typeapplication/json
object
status
string
message
string
scopes
Array<string>
endpoints
object
key
additional properties
string
Example
{ "status": "ok", "message": "Kudosky Public API v1.2", "scopes": [ "read:members", "read:activity" ]}The key is missing, malformed or revoked.
Media typeapplication/json
object
error
string
Example
{ "error": "Unauthorized: Invalid or missing API Key"}