# Enable Action Inquiry Event Notification Postbacks as a Partner

If you want to receive real-time notifications whenever [action inquiries](https://help.impact.com/partner/platform-features/action-management/action-inquiries/manage-submitted-action-inquiries-as-a-partner) are created or resolved, you can set up event notifications. For more information on what event notifications are and how action inquiry postbacks work, and more, see [Action Inquiry Event Notification Postbacks FAQ for Partners](https://help.impact.com/en/support/solutions/articles/48001239866-action-inquiry-event-notification-postbacks-faq-for-partners).

#### Set up action inquiry postbacks

![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-ce68cfb317a0bdf2b9e82f3df63b400f7764cbf2%2F6b9ec025210c2878ab8e126697a41af04cef94403a452d5dee89cf87e9f2cf2d.svg?alt=media) This feature is only accessible to specific impact.com editions or add-ons. [Contact us](https://app.impact.com/support/portal.ihtml?createTicket=true) to upgrade your account and get access!

Action inquiry postbacks update you whenever an action inquiry is opened or closed by an impact.com account user in your account. To set up action inquiry postbacks:

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. Hover over the *Action Inquiry Events* field and 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 need to 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 curly brackets `{ }`.

     <div data-with-frame="true"><figure><img src="https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-dec46bc2f3b19205803f87e836bd28629795c0a2%2F6a4c205d4833d509d64517e4db27d50d8466a7476ca077757a6da11f00751750.png?alt=media" alt=""><figcaption></figcaption></figure></div>
   * 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 the **Body Format** that matches your setup in *Step 5*.
7. Select **Action Inquiry 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** between when an event happens and when the postback is generated and sent to your system.
   * Enter a rate limit for the **Maximum Requests** impact.com can make to your system per second.
   * Enter what you want the **Success Response** to a postback to be.
   * Enter what you want the **Error Response** to a postback to be.
8. Select **Save**.

Now that you have action inquiry postbacks set up, your system should begin receiving postbacks whenever an inquiry is created by your account or resolved by a partnered brand. To learn how to test your new postback setup, view the *Test an action inquiry postback* section below.

#### Test an action inquiry postback

Once you set up action inquiry postbacks, you should test your setup. Make sure you notify your partnered brand that you'll be testing your postback setup.

1. From the top navigation menu, select **Content → Assets**.
2. Select an asset, then in the slide-out, select **Get Tracking Link**. Ensure that there are values in the *Sub ID* and *Shared ID* fields:
   * ![](https://347878556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-d0b6669ae76a7bef06a8d6940d7ad5c16bb8d018%2F7cb018d4face8d7cceb880eb5086c812e764fbcfe6f2a0377f88bc7576973070.svg?alt=media) **\[Toggle on] Tracking Parameters**, enter at least one word in each *Sub ID* and *Shared ID* field, then select **Save**.
3. Select **Copy Tracking Link**.
4. **Paste** the link into a fresh browser window and search.
5. Complete the action.
   * This action will ultimately be reversed.
6. After about 15 minutes, find the action on the [Pending Actions](https://help.impact.com/partner/platform-features/action-management/where-can-i-see-my-pending-actions-as-a-partner) screen. You'll need some pieces of information to generate an action inquiry in-app:
   * The **brand** associated with your test action.
   * The action's **Order ID**.
   * The action's **Sale Amount**.
   * The action's **Transaction Date**.
7. Create a new action inquiry in impact.com. In the *Notes* section, mention this is a test inquiry.
   * Learn how to [create an inquiry via the UI](https://help.impact.com/partner/platform-features/action-management/action-inquiries/manage-submitted-action-inquiries-as-a-partner).
   * After doing so, you should receive a postback letting you know an action inquiry was created. If you see the new inquiry on the *Inquiries* screen but have not received a postback yet, double-check your postback setup.
8. Provide your partnered brand with the **Order ID** associated with the inquiry and ask them to **Decline** the inquiry.
   * When the brand declines the inquiry, you should receive another postback informing you of the inquiry's resolution. If you see the inquiry update on the *Inquiries* screen but have not received a postback yet, double-check your postback setup.

{% hint style="warning" %}
**Warning:** If you cannot find any issues with your postback setup but are still not receiving postbacks, [contact support](https://app.impact.com/support/portal.ihtml?createTicket=true). We can check if postbacks are being generated, what the response code for them is, as well as the body for each postback. This information might help you successfully debug your setup.
{% endhint %}
