API ReferenceOAuthExchange OAuth app credentials

Exchange OAuth app credentials

POSThttps://apis.storentia.com/v1/auth/oauth/token

Client-credentials token exchange for registered OAuth apps. This is what the storentiajs/storenntiapy SDKs call internally when you construct a client with a clientId/clientSecret pair — the resulting token authenticates GraphQL storefront requests.

Body

grant_typestringrequired

Must be client_credentials.

client_idstringrequired

OAuth app client ID, from registering an app under a store.

client_secretstringrequired

OAuth app client secret.