Core Driver Interface
This is the API exposed by the SuperTokens Core. To be consumed by your backend only.
appid-{appId} and {tenantId} in all the APIs are optional. Their default values are appid-public and public respectively.
Those that do not have {tenantId} in the path will enforce that the API is called from public tenant only.
Version 5.1.1
Account Linking Recipe
- GETCheck primary user creation possibility
/appid-{appId}/recipe/accountlinking/user/primary/check - GETCheck account linking possibility
/appid-{appId}/recipe/accountlinking/user/link/check - POSTCreate primary user account
/appid-{appId}/recipe/accountlinking/user/primary - POSTLink user accounts together
/appid-{appId}/recipe/accountlinking/user/link - POSTUnlink user accounts
/appid-{appId}/recipe/accountlinking/user/unlink
Totp Recipe
- PUTUpdate TOTP device name
/appid-{appId}/recipe/totp/device - POSTAdd TOTP device for user
/appid-{appId}/recipe/totp/device - GETList user TOTP devices
/appid-{appId}/recipe/totp/device/list - POSTImport existing TOTP device
/recipe/totp/device/import - POSTRemove TOTP device
/appid-{appId}/recipe/totp/device/remove - POSTVerify TOTP code
/appid-{appId}/{tenantId}/recipe/totp/verify - POSTVerify TOTP device
/appid-{appId}/{tenantId}/recipe/totp/device/verify
UserIdMapping Recipe
- GETGet user ID mapping
/appid-{appId}/recipe/userid/map - POSTCreate user ID mapping
/appid-{appId}/recipe/userid/map - POSTRemove user ID mapping
/appid-{appId}/recipe/userid/map/remove - PUTUpdate external user info
/appid-{appId}/recipe/userid/external-user-id-info
Passwordless Recipe
- POSTCheck passwordless code
/appid-{appId}/{tenantId}/recipe/signinup/code/check - POSTConsume passwordless code
/appid-{appId}/{tenantId}/recipe/signinup/code/consume - POSTStart passwordless sign in
/appid-{appId}/{tenantId}/recipe/signinup/code - POSTRevoke passwordless code
/appid-{appId}/{tenantId}/recipe/signinup/code/remove - GETList passwordless codes
/appid-{appId}/{tenantId}/recipe/signinup/codes - POSTRevoke all user codes
/appid-{appId}/{tenantId}/recipe/signinup/codes/remove - GETGet passwordless user
/appid-{appId}/{tenantId}/recipe/user ⠀ - PUTUpdate passwordless user
/appid-{appId}/{tenantId}/recipe/user ⠀
EmailPassword Recipe
- POSTSign in user
/appid-{appId}/{tenantId}/recipe/signin - POSTSign up user
/appid-{appId}/{tenantId}/recipe/signup - GETGet email password user
/appid-{appId}/{tenantId}/recipe/user - PUTUpdate user info
/appid-{appId}/{tenantId}/recipe/user - POSTGenerate password reset token
/appid-{appId}/{tenantId}/recipe/user/password/reset/token - POSTReset user password
/appid-{appId}/{tenantId}/recipe/user/password/reset - POSTImport user with hash
/appid-{appId}/{tenantId}/recipe/user/passwordhash/import - POSTConsume password reset token
/appid-{appId}/{tenantId}/recipe/user/password/reset/token/consume
ThirdParty Recipe
- POSTSign in/up third party user
/appid-{appId}/{tenantId}/recipe/signinup - GETGet third party user
/appid-{appId}/{tenantId}/recipe/user⠀ - GETGet users by email
/appid-{appId}/{tenantId}/recipe/users/by-email
EmailVerification Recipe
- POSTGenerate email verification token
/appid-{appId}/{tenantId}/recipe/user/email/verify/token - POSTRemove email verification tokens
/appid-{appId}/{tenantId}/recipe/user/email/verify/token/remove - POSTVerify email
/appid-{appId}/{tenantId}/recipe/user/email/verify - GETCheck email verification
/appid-{appId}/recipe/user/email/verify - POSTUnverify email
/appid-{appId}/recipe/user/email/verify/remove
User Metadata Recipe
- GETGet user metadata
/appid-{appId}/recipe/user/metadata - PUTUpdate user metadata
/appid-{appId}/recipe/user/metadata - POSTRemove user metadata
/appid-{appId}/recipe/user/metadata/remove
User Roles Recipe
- PUTAdd user role
/appid-{appId}/{tenantId}/recipe/user/role - POSTRemove user role
/appid-{appId}/{tenantId}/recipe/user/role/remove - GETGet user roles
/appid-{appId}/{tenantId}/recipe/user/roles - GETGet users with role
/appid-{appId}/{tenantId}/recipe/role/users - PUTCreate or update role
/appid-{appId}/recipe/role - GETGet role permissions
/appid-{appId}/recipe/role/permissions - POSTRemove role permissions
/appid-{appId}/recipe/role/permissions/remove - GETGet permission roles
/appid-{appId}/recipe/permission/roles - POSTDelete role
/appid-{appId}/recipe/role/remove - GETGet all roles
/appid-{appId}/recipe/roles
Session Recipe
- POSTCreate new session
/appid-{appId}/{tenantId}/recipe/session - GETGet session info
/appid-{appId}/recipe/session - POSTDelete session
/appid-{appId}/{tenantId}/recipe/session/remove - POSTVerify session
/appid-{appId}/recipe/session/verify - POSTRefresh session
/appid-{appId}/recipe/session/refresh - GETGet user session handles
/appid-{appId}/{tenantId}/recipe/session/user - POSTRegenerate session
/appid-{appId}/recipe/session/regenerate - GETGet session data
/appid-{appId}/recipe/session/data - PUTUpdate session data
/appid-{appId}/recipe/session/data - GETGet JWT data
/appid-{appId}/{tenantId}/recipe/jwt/data - PUTUpdate JWT data
/appid-{appId}/{tenantId}/recipe/jwt/data
JWT Recipe
Core
- GETGet well-known JWT keys
/appid-{appId}/.well-known/jwks.json - GETGet API version
/appid-{appId}/apiversion - GETGet config file path
/config - GETGet hello message on root path
/appid-{appId}/{tenantId}/ - GETGet hello message
/appid-{appId}/{tenantId}/hello - PUTPut hello message
/appid-{appId}/{tenantId}/hello - POSTPost hello message
/appid-{appId}/{tenantId}/hello - DELETEDelete hello message
/appid-{appId}/{tenantId}/hello - GETGet telemetry ID
/appid-{appId}/telemetry - GETGet users count
/appid-{appId}/{tenantId}/users/count - GETGet active users count
/appid-{appId}/users/count/active - GETGet users
/appid-{appId}/{tenantId}/users - POSTDelete user
/appid-{appId}/user/remove - GETGet search tags
/appid-{appId}/user/search/tags - GETGet enterprise features
/appid-{appId}/ee/featureflag - GETGet license key
/appid-{appId}/ee/license - PUTSet license key
/appid-{appId}/ee/license - DELETEDelete license key
/appid-{appId}/ee/license - GETGet user ID
/appid-{appId}/user/id - GETGet users by account info
/appid-{appId}/{tenantId}/users/by-accountinfo - GETGet requests stats
/appid-{appId}/requests/stats
Dashboard Recipe
- PUTUpdate dashboard user
/appid-{appId}/recipe/dashboard/user - POSTCreate dashboard user
/appid-{appId}/recipe/dashboard/user - DELETEDelete dashboard user
/appid-{appId}/recipe/dashboard/user - GETGet all dashboard users
/appid-{appId}/recipe/dashboard/users - POSTVerify dashboard user session
/appid-{appId}/recipe/dashboard/session/verify - DELETERevoke dashboard user session
/appid-{appId}/recipe/dashboard/session - POSTSign in dashboard user
/appid-{appId}/recipe/dashboard/signin - GETGet all sessions for dashboard user
/appid-{appId}/recipe/dashboard/user/sessions - GETGet the core config
/appid-{appId}/{tenantId}/recipe/dashboard/tenant/core-config
Multitenancy Recipe
- PUTUpsert connection URI domain
/recipe/multitenancy/connectionuridomain - PUTUpsert connection uri domain
/recipe/multitenancy/connectionuridomain/v2 - POSTRemove connection uri domain
/recipe/multitenancy/connectionuridomain/remove - GETList connection uri domains (deprecated)
/recipe/multitenancy/connectionuridomain/list - GETList connection uri domains
/recipe/multitenancy/connectionuridomain/list/v2 - PUTUpsert app (deprecated)
/recipe/multitenancy/app - PUTUpsert app
/recipe/multitenancy/app/v2 - POSTDelete app
/recipe/multitenancy/app/remove - GETList apps (deprecated)
/recipe/multitenancy/app/list - GETList apps
/recipe/multitenancy/app/list/v2 - PUTUpsert tenant (deprecated)
/appid-{appId}/recipe/multitenancy/tenant - PUTUpsert tenant
/appid-{appId}/recipe/multitenancy/tenant/v2 - GETGet tenant configuration (deprecated)
/appid-{appId}/{tenantId}/recipe/multitenancy/tenant - GETGet tenant configuration
/appid-{appId}/{tenantId}/recipe/multitenancy/tenant/v2 - POSTDelete a tenant
/appid-{appId}/recipe/multitenancy/tenant/remove - GETList tenants in an app (deprecated)
/appid-{appId}/recipe/multitenancy/tenant/list - GETList tenants in an app
/appid-{appId}/recipe/multitenancy/tenant/list/v2 - PUTUpsert ThirdParty Provider configuration
/appid-{appId}/{tenantId}/recipe/multitenancy/config/thirdparty - POSTDelete ThirdParty Provider configuration
/appid-{appId}/{tenantId}/recipe/multitenancy/config/thirdparty/remove - POSTAdd user tenant association
/appid-{appId}/{tenantId}/recipe/multitenancy/tenant/user - POSTRemove user tenant association
/appid-{appId}/{tenantId}/recipe/multitenancy/tenant/user/remove
OAuth2Provider Recipe
- GETGet OAuth2 Client
/appid-{appId}/recipe/oauth/clients - PUTUpdate OAuth2 Client
/appid-{appId}/recipe/oauth/clients - POSTCreate OAuth2 Client
/appid-{appId}/recipe/oauth/clients - GETList OAuth2 Clients
/appid-{appId}/recipe/oauth/clients/list - POSTRemove OAuth2 Client
/appid-{appId}/recipe/oauth/clients/remove - GETGet OAuth2 Consent Request
/appid-{appId}/recipe/oauth/auth/requests/consent - PUTAccept OAuth2 Consent Request
/appid-{appId}/recipe/oauth/auth/requests/consent/accept - PUTReject OAuth2 Consent Request
/appid-{appId}/recipe/oauth/auth/requests/consent/reject - GETGet OAuth2 Login Request
/appid-{appId}/recipe/oauth/auth/requests/login - PUTAccept OAuth2 Login Request
/appid-{appId}/recipe/oauth/auth/requests/login/accept - PUTReject OAuth2 Login Request
/appid-{appId}/recipe/oauth/auth/requests/login/reject - PUTAccept OAuth2 Logout Request
/appid-{appId}/recipe/oauth/auth/requests/logout/accept - PUTReject OAuth2 Logout Request
/appid-{appId}/recipe/oauth/auth/requests/logout/reject - POSTRevoke OAuth2 Session
/appid-{appId}/recipe/oauth/session/revoke - POSTRevoke OAuth2 Token
/appid-{appId}/recipe/oauth/token/revoke - POSTRevoke OAuth2 tokens for a client
/appid-{appId}/recipe/oauth/tokens/revoke - GETGet OAuth2 Auth
/appid-{appId}/recipe/oauth/auth - POSTGet OAuth2 Token
/appid-{appId}/recipe/oauth/token - GETGet OAuth2 Sessions Logout
/appid-{appId}/recipe/oauth/sessions/logout - POSTIntrospect OAuth2 Token
/appid-{appId}/recipe/oauth/introspect
Bulk Import
- GETList bulk import users
/appid-{appId}/bulk-import/users - POSTAdd bulk import users
/appid-{appId}/bulk-import/users - POSTDelete bulk import users
/appid-{appId}/bulk-import/users/remove - GETCount bulk import users
/appid-{appId}/bulk-import/users/count - POSTImport one user directly
/appid-{appId}/bulk-import/import
WebAuthn Recipe
- GETGet WebAuthn credential
/appid-{appId}/{tenantId}/recipe/webauthn/user/credential - GETList WebAuthn credentials
/appid-{appId}/{tenantId}/recipe/webauthn/user/credential/list - GETGet WebAuthn options
/appid-{appId}/{tenantId}/recipe/webauthn/options - GETRecover WebAuthn user
/appid-{appId}/{tenantId}/recipe/webauthn/user/recover - POSTGenerate registration options
/appid-{appId}/{tenantId}/recipe/webauthn/options/register - POSTGenerate authentication options
/appid-{appId}/{tenantId}/recipe/webauthn/options/signin - POSTRegister WebAuthn credential
/appid-{appId}/{tenantId}/recipe/webauthn/user/credential/register - POSTSign up WebAuthn user
/appid-{appId}/{tenantId}/recipe/webauthn/signup - POSTSign in WebAuthn user
/appid-{appId}/{tenantId}/recipe/webauthn/signin - POSTGenerate recovery token
/appid-{appId}/{tenantId}/recipe/webauthn/user/recover/token - POSTConsume recovery token
/appid-{appId}/{tenantId}/recipe/webauthn/user/recover/token/consume - PUTUpdate email
/appid-{appId}/{tenantId}/recipe/webauthn/user/email - DELETERemove WebAuthn credential
/appid-{appId}/{tenantId}/recipe/webauthn/user/credential/remove - DELETERemove WebAuthn options
/appid-{appId}/{tenantId}/recipe/webauthn/options/remove