Creating User Tokens using Company Token

Creating user tokens API schema

PropertyTypeDescription
user_inputStringSuper Admin email address.
scopeStringPermission scope being assigned/validated (e.g., store_admin_manage).

Response Schema

PathTypeDescription
access_tokenstringNewly generated access token for the user.
token_typestringAlways "bearer".
expires_innumberToken validity duration in seconds.
refresh_tokenstringToken used to regenerate a new access token once expired.
access_token_expirynumberEpoch timestamp (ms) when the access token expires.
refresh_token_expirynumberEpoch timestamp (ms) when the refresh token expires.
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!