Server-Side

Test a callback URL

Changed on

This endpoint is used to test a callback URL. It sends a test payload to the callback URL.

post/v1/publishers/callbacks/perform-test

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/publishers/callbacks/perform-test
  • Auth
    API key in header X-S2S-Token

Request body

activity'offer' | 'receipt' | 'cashback' | 'survey' | 'leaderboard' | 'start_bonus' | 'user_ban' | 'promotion' | 'level_up' required
activity_type'complete' | 'reconcile' | 'screenout' | 'state_change' | 'click_blocked' required
dataobject required
tagsobject required
custom_fieldsobject required

Response

OK

Example response

{
  "data": {
    "response": {
      "status_code": 200,
      "body": "OK - it works",
      "content_type": "text/plain"
    }
  }
}

Changes