# Server-to-Server (S2S) Callbacks

Source: https://tenjin.com/docs/server-to-server-s2s-callbacks/

To configure a custom server-to-server callback make sure you:


1. [Added your app](<https://tenjin.com/docs/add-apps/>)

2. [Are sending events](<https://tenjin.com/docs/category/add-the-tenjin-sdk/>)


After you complete the above, configure event callbacks on the Apps tab.


1. Go to the CONFIGURE -> Apps tab and click on your app. Click on the Callbacks tab.

2. Select the S2S Callbacks tab on the top.

3. Click on Add A S2S Callback.

4. Configure the server URL to call when a specific Tenjin event is fired. Include the server’s URL parameters and pass [Tenjin’s callback macros](<https://tenjin.com/docs/callback-macros/>) into those parameters.

Here you can see myIdfaParam set to the Tenjin macro {{advertising_id}} (which passes the Identifier For Advertising) and myCountryParam set to the Tenjin macro {{country}} (which passes the country of the event). These macros will eventually get filled with the real values when sent to myserver.com.

5. Choose the event trigger. This is the event that will get forwarded to your server. Here you can see open is the event that will get sent.

6. Select any additional filters or conditions when to send your events to your server.

7. Hit Save Callback.


If there are any questions, please send an email to support@tenjin.com.
