POST /V1/integration/admin/token
POST /V1/integration/admin/token is a Magento 2 REST endpoint in the TwoFactorAuth module. Callable anonymously — no Authorization header required.
Last verified: against Magento 2.4.9.
Service contract
Magento\TwoFactorAuth\Api\AdminTokenServiceInterface::createAdminAccessToken
Authorization
Anonymous — no Authorization header required.
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/integration/admin/tokenRelated in TwoFactorAuth
Other endpoints shipped by the same module.
/V1/tfa/default-provider-code/:userId
Get default provider
TwoFactorAuth · Magento\TwoFactorAuth\Api\UserConfigManagerInterface::getDefaultProvider
/V1/tfa/default-provider-code/:userId
Set default provider code
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::setDefaultProviderCode
/V1/tfa/forced-providers
Retrieve forced providers list
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getForcedProviders
/V1/tfa/installed-providers
Get a list of providers
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getAllProviders
/V1/tfa/provider/authy/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyConfigureInterface::activate
/V1/tfa/provider/authy/authenticate
AnonymousGet an admin token using authy 2fa
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyAuthenticateInterface::createAdminAccessTokenWithCredentials
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.