post
https://stagingstores.xoxoday.com/chef/v1/oauth/token/create/user
Creating user tokens API schema
| Property | Type | Description |
|---|---|---|
user_input | String | Super Admin email address. |
scope | String | Permission scope being assigned/validated (e.g., store_admin_manage). |
Response Schema
| Path | Type | Description |
|---|---|---|
| access_token | string | Newly generated access token for the user. |
| token_type | string | Always "bearer". |
| expires_in | number | Token validity duration in seconds. |
| refresh_token | string | Token used to regenerate a new access token once expired. |
| access_token_expiry | number | Epoch timestamp (ms) when the access token expires. |
| refresh_token_expiry | number | Epoch timestamp (ms) when the refresh token expires. |
