Authorization
Authentication / Authorization gives you access to endpoints / associated associated with your Spin Mobile account e.g. score type data. You can get an access token by making a POST call.
# Request Parameters
The following parameters are expected:
Field | Description | Type |
---|---|---|
consumer_key | An API key used to identify a customer | String |
consumer_secret | A "password" used along with the consumer_key for authorization | String |
Please find sample implementation on the left
# Response parameters
Field | Description | Type |
---|---|---|
token | Access token to access resources | String |
expires | Token expiry time in seconds | String |
Below is a sample response
{
"token": "ZTJmMDg4NTNmOTM4ZTM0Y2FkMDc3N2Y4OTJhMzVk",
"expires": "1659083476"
}