Skip to content
Wysp Docs

Admin API

The Admin API is a REST(ish) API for server-side management of your Wysp integration.

All endpoints (except Health Check) require an ApiKey sent via the X-Api-Key header.

EndpointMethodDescription
/usersGETList users with cursor-based pagination
/usersPOSTCreate a new user
/users/{userId}GETGet a user
/users/{userId}PUTUpdate a user
/users/{userId}DELETEPermanently delete a user and all associated data
EndpointMethodDescription
/users/{userId}/issue-tokenPOSTIssue a short-lived UserToken for the User API. Creates the user if they don’t exist.
/users/{userId}/revoke-tokenPOSTRevoke all outstanding tokens for a user
EndpointMethodDescription
/api-keys/rotatePOSTRotate your ApiKey, with an optional grace period for the old key
/healthGETHealth check (no auth required)