> For the complete documentation index, see [llms.txt](https://developer.gyfti.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gyfti.fr/retrieve-data-from-campaigns.md).

# Retrieve data from campaigns

To retrieve data from you campaigns, you can add a webhook url for each type of call you want to use.

You can add the same webhook url to each call if needed.

After intializing and adding your webhook to you gyfti account, you will need to use your webhook as a trigger for your workflow.&#x20;

Example :&#x20;

You want to retrieve data from each order of you gyfti app and send them to Hubspot

You will add your webhook url

## Save hook for new order

<mark style="color:green;">`POST`</mark> `https://app.gyfti.fr/api/1.1/wf/new_hook_order/`

#### Request Body

| Name                                      | Type   | Description                                   |
| ----------------------------------------- | ------ | --------------------------------------------- |
| hookUrl<mark style="color:red;">\*</mark> | String | target url for new order                      |
| user<mark style="color:red;">\*</mark>    | String | user account to identify your company account |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "success",
    "response": {}
}
```

{% endtab %}
{% endtabs %}
