Refresh tokens are issued during onboarding. If you don’t have one yet, see Seller Management for the sign-up flow.
Token Exchange
CallPOST /v1/auth with your refresh token to obtain an access token. See the Auth API reference for the full request and response schema.
The response includes:
authToken: the access token to use as a Bearer credential.tokenExpireAt: absolute expiry in ISO 8601.expiresIn: lifetime in seconds.scope: the authorization scope tied to your refresh token (for example,CHANNELorSELLER).
Using the Access Token
Send the access token as a Bearer token in theAuthorization header on every SCX API request:
Expiry and Refresh
Access tokens are short-lived. Refresh them proactively beforetokenExpireAt rather than waiting for a 401 Unauthorized response.
A reasonable pattern:
- On first use, call
POST /v1/authand storeauthTokentogether withtokenExpireAt. - Before each API call, check whether
tokenExpireAtis more than 60 seconds in the future. If yes, reuse the cached token. - If not, call
POST /v1/authagain with the same refresh token to obtain a new access token.
Next Steps
Rate Limits
Understand the per-endpoint quotas and 429 handling across all SCX APIs.
Auth API Reference
Endpoint-level reference for
POST /v1/auth.