Server-to-server (S2S) Security

With Adjust's S2S Security feature, you can guarantee the security of your S2S events and protect against spoofed requests. After you set up S2S authentication each incoming request must carry a token generated in your Adjust dashboard. Requests that do not carry a valid token are rejected by our server.

Before you begin


  • Only Admins can access and manange authentication tokens in the dashboard.
S2S Security is not compatible with Google Tag Manager event tracking. Using Adjust's S2S authentication tokens in your Google Tag Manager configuration means that incoming Google Tag events are rejected.

Set up S2S authentication

To set up S2S authentication, follow these steps.

Classic dashboard
  1. Find your app and select the app options caret (^).
  2. Select All Settings > S2S Security.
  3. Select Create Token.
  4. Enter a token name.
  5. Select Create.
  6. Select Copy (clipboard icon) and send the token to your developer to add to your S2S event requests.

At this point, S2S authentication is not active and requests carrying invalid tokens are still accepted. Speak to your dedicated Technical Account Manager or contact to validate the setup before activating S2S authentication.

Example POST request with token added:

curl -v -X POST -H "Authorization: Bearer v8s5opi0zs45607l8h8c48wak2vxb5oe" ""

Expected response:

> POST /event?s2s=1&app_token=abc123kuvada7&event_token=xyzklm&gps_adid=11110111-2345-6789-1122-000000005678 HTTP/1.1
> Host:
> User-Agent: curl/7.54.0
> Accept: */*
> Authorization: Bearer v8s5opi0zs45607l8h8c48wak2vxb5oe

Requests return one of the responses below.

Response codeResponse messageReason
200OKRequest accepted
202Missing authentication tokenNo token added to the request
202Wrong authentication tokenToken added but not recognized. Check it is set correctly and is active on the dashboard

Activate S2S authentication

Classic dashboard
Activate S2S authentication only after your developer has tested token implementation, and your Technical Account Manager or our team at has validated your setup. 

To activate S2S authentication, follow these steps.

  1. Under AppView, select All apps.
  2. Select your app.
  3. Select the Protection tab.
  4. Under the S2S Security section, select Open S2S Security.
  5. Switch the toggle ON.
  6. Confirm to proceed.

Now, all incoming S2S requests are required to carry an active authentication token.

Manage your tokens

To add multiple auth tokens, follow the same setup steps listed above

Always test your tokens after implementation. When S2S authentication is active, requests with new tokens that are not correctly implemented are rejected. 
Classic dashboard

If you're no longer using a token, you can deactivate it:

  1. Under AppView, select My apps.
  2. Select your app.
  3. Select the Protection tab.
  4. Under the S2S Security section, select Open S2S Security.
  5. Find your token and slide the toggle to the off position.
If you deactivate all of your tokens, Adjust automatically deactivates S2S authentication to ensure you don't reject all S2S traffic.

You can reactivate inactive tokens at any time sliding the toggle to the on position, or hide inactive tokens by turning the Show inactive tokens toggle off.

To deactivate S2S authentication, disable the toggle labeled S2S authentication is ON: you’re protected against fraud.. A warning modal appears. Select Turn off to deactivate S2S authentiaction.