Sign in

Generate admin token

documented

Authenticate an admin and obtain a token.

POST /rest/{store_code}/V1/integration/admin/tokenAuthenticationno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl 'https://{{$host}}/rest/{{$store_code}}/V1/integration/admin/token' \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{"username": "{{$username}}", "password": "{{$password}}"}'
Generate admin token · Adobe Commerce (Magento) · OpenIntegrations