The Admin API

The Admin API allows you to make privileged API requests.

Create Key

  1. Go to the Admin Console and click Developer
  2. Click the New API key button
  3. Set the Description field to Getting Started
  4. Select Admin API from Type dropdown
  5. Select Read and write from the Everything scope dropdown
  6. Click the Create button
  7. Click Copy when the newly created key appears

Install SDK

# No setup required

Make a Request

curl https://api.userhub.com/admin/v1/users \
  -H "Authorization: Bearer $ADMIN_API_KEY"

Note: When making requests on behalf of a user it is almost always preferable to use the User API instead.

PreviousGlossary
NextFlows

Turn users intorevenue
$

Subscribe to monthly product updates

© 2024 UserHub

Integrations

    UserHub & Auth0UserHub & Stripe BillingUserHub & Google CloudUserHub & FirebaseUserHub & Custom Auth

Resources