> For the complete documentation index, see [llms.txt](https://docs.sparkloop.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sparkloop.app/api-v2-deprecated/endpoints/offers/conversions.md).

# Conversions

## Confirm a conversion from an Action offer

<mark style="color:green;">`POST`</mark> `https://api.sparkloop.app/v2/offers/:offer_uuid/submissions/:submission_uuid/conversion`

#### Path Parameters

| Name                                               | Type   | Description       |
| -------------------------------------------------- | ------ | ----------------- |
| offer\_uuid<mark style="color:red;">\*</mark>      | string | Offer's UUID      |
| submission\_uuid<mark style="color:red;">\*</mark> | string | Submission's UUID |

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

```javascript
{
    "message": "Conversion tracked successfully"
}
```

{% endtab %}

{% tab title="422: Error" %}
When the request was sent for a different type of Offer, like Click or Lead:

<pre class="language-javascript"><code class="lang-javascript"><strong>{
</strong><strong>    "error": "Offer submission must be an action"
</strong>}
</code></pre>

When the conversion was already confirmed:

```javascript
{
    "error": "Offer submission must be unique"
}
```

{% endtab %}

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

```javascript
{
    "error": "Offer not found"
}
```

or

```javascript
{
    "error": "Submission not found"
}{
```

{% endtab %}
{% endtabs %}
