Authentication for FreeWheel Demand APIs


FreeWheel's Demand APIs use standard OAuth authentication and authorization. FreeWheel issues you a User ID and Password you can use to obtain a bearer-grant OAuth Token.


Bearer tokens are case sensitive.

Generate Access Token

curl -X POST \ \
  -H 'accept: application/json' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -d 'grant_type=password&username=johndoe&password=A3ddj3w'

Retrieve Access Token

curl -X GET \ \
  -H 'accept: application/json' \
  -H 'authorization: Bearer MY_OAUTH_ACCESS_TOKEN'
   "expires_in_seconds":604800,    "created_at":1468982119