> 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/using-gyfti-store/add-a-new-pool-to-your-users.md).

# Add a new pool to your users

How to automate new jackpot to your users account

After you have created your users to your store how can you easily add money to their account when they engage with your company?

This endpoint enables you to add money to your user's account in your workflow.

You only need to have your user's email account and the amount you want to add.

## Add a new pool amount to your user's account

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

#### Headers

| Name                                            | Type   | Description             |
| ----------------------------------------------- | ------ | ----------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | 'Bearer \[YOUR\_TOKEN]' |

#### Request Body

| Name                                              | Type   | Description                                       |
| ------------------------------------------------- | ------ | ------------------------------------------------- |
| user\_email<mark style="color:red;">\*</mark>     | String | your user's email                                 |
| user\_add\_pool<mark style="color:red;">\*</mark> | String | the amount you want to add to your user's account |

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

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

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

```
{
    "error_class": "Unauthorized",
    "args": {
        "code": "1612453252352x764738473647384927"
    },
    "message": null,
    "translation": "Invalid or expired token: 1612453252352x764738473647384927"
}
```

{% endtab %}

{% tab title="404: Not Found Not found" %}

```
{
    "statusCode": 404,
    "body": {
        "status": "NOT_FOUND",
        "message": "Workflow not found add-pool"
    }
}
```

{% endtab %}
{% endtabs %}
