Test Your Token

Once you Get a Bearer Token, you can call any OAuth enabled endpoint on behalf of the user who authorized the token. In this example, we’ll use the TestAuthed endpoint, which returns the user’s user id and other user information.

URLs

Environment URL
Sandbox https://api.wax-sandbox.com/ITest/TestAuthed/v1
Production https://api.opskins.com/ITest/TestAuthed/v1

Header Parameters

You’ll need to use Bearer authorization to authenticate with OAuth enabled endpoints:

Authorization: Bearer {access_token}

Body Parameters

N/A

Example


curl -X GET \
  https://api.opskins.com/ITest/TestAuthed/v1/ \
  -H 'Authorization: Bearer 452589dfgghhjjkl4885521236985' \
  -H 'cache-control: no-cache' 

Successful Response

{
    "status": 1,
    "time": 1498104663,
    "balance": 5124,
    "credits": 0,
    "response": {
        "uid": 12345,
        "id64": "76561197960287930"
    }
}