Authenticate your API requests with the Tapjoy Offerwall API to gain authorized access to manage user engagement and monetization data.
読み終わるまでの所要時間 1 分最終更新 3日前
Requesting Access
Requests are authenticated using a standard two-legged OAuth2 flow: an
access_token
is requested using an encoded API Key, and the resulting
access_token
is used to authenticate against future requests.You can find your API key in the LTV Dashboard by selecting an App > Settings > App Settings > Scroll down > API Keys.
Access tokens have a 1-hour lifetime and cannot be refreshed. Once a token expires you must request a new one with your Reporting API Key/Marketing API Key.To request an access token you must send a POST request with an Authorization header using your API Key. If the credentials are valid the response will include an access token and the number of seconds until the token expires.Example Request
POST /v1/oauth2/tokenHost:api.tapjoy.comAuthorization:Basic <APIKey>
Accept:application/json