S2S Callbacks

Update an S2S callback

patch/v2/apps/{app_id}/s2s_callbacks/{id}

Request

  • Base URL
    https://api.tenjin.com
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Id of the S2S callback

app_idstring uuid required

Id of the app

Request body

eventstring

Event of the app that sends the callback

namestring

Name of the S2S callback

urlstring

URL Tenjin calls. Macros such as {{advertising_id}} are filled in

http_method'GET' | 'POST'

HTTP method

action'ping' | 'ping_on_first' | 'notify_on_reengagement'

ping to notify on every event; ping_on_first to notify on install and notify_on_reengagement on reengagement, both for the open event only

activeboolean

Whether Tenjin sends the callback

advertising_id_filterboolean

Only send the callback for users with a known advertising id

user_filterinteger[]

Only send the callback for users attributed to these channels; all users when empty

first_partyboolean

Whether this is a first-party (destination belongs to the advertiser) S2S callback

Response

The updated S2S callback

metaobject required

Always empty

Example response

{
  "data": {
    "attributes": {
      "name": "S2S Purchase",
      "event": "purchase",
      "url": "https://example.com/postback?bundle_id={{bundle_id}}",
      "http_method": "GET",
      "active": true,
      "action": "ping",
      "advertising_id_filter": true,
      "user_filter": [
        3,
        5
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.