> For the complete documentation index, see [llms.txt](https://help.smartico.ai/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smartico.ai/welcome/~/changes/B87CND5z8x8BAzJwmSVQ/technical-guides/reverse-integration.md).

# Reverse integration

When Smartico platform sends any of the assets to the user it can notify your platform about it.

For example, Smartico can notify your system using an HTTP POST call every time the system sends mail to the user. There are various possible parameters which can be passed in the call:

* Time (epoch millis)
* Campaign name
* Asset type(Email, SMS, Push)
* External User ID (the user ID on your side)
* Link to see the content of the sent asset

<figure><img src="/files/YzkILDrz5w2c09teOsLx" alt=""><figcaption></figcaption></figure>

The configuration is done by the Smartico team after providing the following:

* HTTP URL of your API endpoint
* Preferred method - POST or GET. POST is suggested
* Content type, "application/json" is suggested
* Body, for the POST method, where you need to structure the JSON template.

Example of setup:

* URL - <https://mysite.com/users/communications>
* Method POST
* Content-Type: "application/json"
* Body template

```json
{
  "login": "123123",
  "time": 1664115803000,
  "view_url": "<URL which shows the content of the asset>",
  "channel": "SMS",
  "campaign_name": "RND Flow"
}
```

<br>

{% hint style="info" %}
Contact your Account Manager or log a JIRA ticket to set up the reverse integration
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.smartico.ai/welcome/~/changes/B87CND5z8x8BAzJwmSVQ/technical-guides/reverse-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
