Authentication

SimpleStore platform uses bearer token to authenticate API requests. Using OAuth client credentials to authenticate the calling application and return a token that is valid for 60 minutes.

This token then used as a Bearer Token for subsequent API calls to the platform.

client_secretis sensitive information and it should never used or disclosed publicly.

post
Access Token

https://auth.simplestore.io/connect/token
This endpoint responsible in generating access tokens for Client (application) to allow full read and write access to the platform.
Request
Response
Headers
Content-Type
required
string
application/x-www-form-urlencoded
Form Data Parameters
grant_type
required
string
client_credentials
client_id
required
string
Your client_id generated from Control Panel
client_secret
required
string
Your client_secret generated from Control Panel
200: OK
Successful authentication of client credentials will return access token with expiry time in seconds
{
"access_token": "<Token>",
"expires_in": 3600,
"token_type": "Bearer"
}
400: Bad Request
Failed authentication will return invalid client
{
"error": "invalid_client"
}

access_token has an expiry of 60 minutes. You must renew the token on or before expiry.