Postback Setup
Configure your postback URL to receive real-time notifications when users complete offers. Postbacks are sent as HTTP POST requests to your server.
Setting Up Your Postback URL
1
Go to Publisher Dashboard
Navigate to your app settings and find the Postback URL field under the Integration tab.
2
Enter Your Endpoint URL
Enter the full URL of your server endpoint (e.g., https://your-server.com/api/s2s/callback).
3
Set Your Secret Key
Generate a secret key in the dashboard. Used to sign postback requests.
4
Test the Integration
Use the Test Postback button to send a test request and verify your server responds correctly.
ℹ️ Important
Your postback endpoint must return HTTP 200 to confirm receipt. Any other response will trigger retry (up to 5 times with exponential backoff).
Your postback endpoint must return HTTP 200 to confirm receipt. Any other response will trigger retry (up to 5 times with exponential backoff).
Postback Macros
Use these macros in your postback URL:
| MACRO | DESCRIPTION | EXAMPLE |
|---|---|---|
{user_id} | User ID from SDK init | user_12345 |
{transaction_id} | Unique transaction ID | txn_abc123 |
{offer_id} | Completed offer ID | offer_789 |
{payout} | Payout amount USD | 0.50 |
{signature} | HMAC-SHA256 signature | a1b2c3... |
{timestamp} | Unix timestamp | 1729123456 |