Skip to main content
GET
/
api
/
admins
cURL
curl --request GET \
  --url https://recoup-api.vercel.app/api/admins \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "isAdmin": true
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Response

Admin status retrieved successfully

status
enum<string>
required

Status of the request

Available options:
success
isAdmin
boolean
required

Whether the authenticated account is a Recoup admin