# Enable Action Clearing Event Notifications

Event Notifications (or sometimes called event postbacks) are standard HTTP notifications that can notify you when an action, click, or other event occurs. Event Postbacks can be configured to feed event data into your internal reporting systems, giving an up-to-date view of your events.

Action Clearing Events will issue an HTTP request to a specified URL (and any included parameters) when actions are cleared. Learn more about the [*Action Life Cycle*](https://app.gitbook.com/s/wMLlMoFBtKJa8ptd3zaw/what-would-you-like-to-learn-about/platform-features/actions-and-payouts/understand-the-action-life-cycle-and-finance).

#### Set up action clearing event notifications

1. From the top navigation bar, select ![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[User profile] → Settings**. &#x20;
2. Under *Technical*, on the left, select **Event Notifications**.
3. Next to the *Action Clearing Events*, select ![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-6027673a720a6522269e1861ad0554c4a85baf29%2F9dcf248c757a094c6af27798e61091b8425a0afa1637ae0e5ba3448c5f85b1a1.svg?alt=media) **\[Edit]**.
4. Enter your **Server's URL**. This is the URL to which impact.com will send postbacks.
5. Select your preferred HTTP method.
   * If you select **POST**, you will then enter the body of the request. Below is an example of how you might want to map each data point for a JSON format. The keys in each key-value pair should be sourced from your own system’s setup, and the values will be your chosen coinciding data point that impact.com provides and should be entered in brackets { }.

     ```programlisting
     {"Action Life Cycle Postback",
     "campaign_id": "{CampaignId}",
     "action_tracker_id": "{ActionTrackerId}",
     "media_partner_id": "{MediaPartnerId}",
     "campaign_name": "{CampaignName}",
     "action_tracker_name": "{ActionTrackerName}",
     "media_partner_name": "{MediaPartnerName}",
     "action_type": "{ActionType}",
     "referring_type": "{ReferringType}",
     "action_id": "{ActionId}",
     "status": "{Status}",
     "status_detail": "{StatusDetail}",
     "ad_id": "{AdId}",
     "payout": "{Payout}",
     "delta_payout": "{DeltaPayout}",
     "intended_payout": "{IntendedPayout}",
     "amount": "{Amount}",
     "delta_amount": "{DeltaAmo
     unt}",
     "intended_amount": "{IntendedAmount}",
     "currency": "{Currency}",
     "original_currency": "{OriginalCurrency}",
     "original_amount": "{OriginalAmount}",
     "event_date": "{EventDate}",
     "creation_date": "{CreationDate}",
     "locking_date": "{LockingDate}",
     "cleared_date": "{ClearedDate}",
     "referring_domain": "{ReferringDomain}",
     "landing_page_url": "{LandingPageUrl}",
     "ref_customer_area": "{RefCustomerArea}",
     "ref_customer_city": "{RefCustomerCity}",
     "ref_customer_region": "{RefCustomerRegion}",
     "ref_customer_country": "{RefCustomerCountry}",
     "ref_click_id": "{RefClickId}",
     "shared_id": "{SharedId}",
     "sub_id1": "{SubId1}",
     "sub_id2": "{SubId2}",
     "sub_id3": "{SubId3}",
     "text_1": "{Text1}",
     "text_2": "{Text2}",
     "promo_code": "{PromoCode}",
     "items": [{join(items, i, 
     "\{\"sku\":\"{i.sku}\",
     \"item_price\":{i.amt},
     \"category\":\"{i.cat}\",
     \"quantity\":{i.qty},
     \"cartamt\":{i.cartamt},\"rbt\":\"{i.rbt}\",
     \"name\":\"{i.name}\",
     \"category_list\":\"{i.itemlist}\"\}")}]\}
     ```
   * Once you've enter the body, choose a *Body Format* by selecting the ![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-590bdf4e1ffbcc1fe86ad456bebab6a28c64af1f%2Ffd6e4291628446bb1fe27a831f7874b256a28cc84833d72cce2e73b94641edb7.svg?alt=media) **\[Radio button]**.
     * **Query String**
     * **JSON**
     * **XML**
   * View some of impact.com's [available body parameters](https://docs.google.com/spreadsheets/d/1omPZ6CG0guvMPh6EdbYg7BczHqJOrtuZ2zXnTtgfhrY/edit?usp=sharing).
   * Don't see a value you need? Reach out to your Publisher Account Manager (or [contact support](https://app.impact.com/support/portal.ihtml?createTicket=true)).
6. Select **Action Clearing Events** ![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-500f241687470b7f2c6cf43ec949c2463692cd19%2F0323174d38f3b23e95ed28b6734e6af44b570eec2eecb0ea9f2e0f064962b5fb.svg?alt=media). These settings are optional.
   * Enter an **HTTP Header** as a way to pass additional information between you and the server.
   * Enter a **Minimum Delay** (in seconds) to wait after the event occurs before sending the postback.
   * Enter the **Maximum Requests** — this is the maximum number of resend requests that the system should make per second.
   * Enter what you want the **Success Response** to the postback to be.
   * Enter what you want the **Error Response** to the postback to be.
7. Select **Save**.
