generateAccessToken

POST

generateAccessToken

Generate an access token used for authorization on all routes.

Note: userId and deviceId parameters are only required when scope = mobile.

Resource URL

https://api-staging.arity.com/platform/oauth/v1 /token

Body Parameters


Name Values Description
client_id
(required)

Find in Dashboard

client_secret
(required)

Find in Dashboard

grant_type
(required)

Enter client_credentials

scope
(required)

Enter b2b or mobile

userId

Required if scope = mobile

deviceId

Required if scope = mobile

Request Body

Generate Access Token

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    Bad Request

  • 401

    Unauthorized

  • 500

    Server Error

Resource Summary

Security

Content Type

application/x-www-form-urlencoded

Name Type Description
Name Type Description

Working...

© 2019 Arity, LLC. All rights reserved.  | Privacy Policy | Terms of Use | Legacy APIs