> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/triangle-registry/add-retire-webhook.md).

# Add Retire Webhook

### Triangle Registry - Add Retire Webhook

<mark style="color:green;">`POST`</mark> <https://sandbox.triangle.digital/api/v2/add\\_retired\\_webhook>

**Headers**

<table data-full-width="true"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr></tbody></table>

**Body**

<table data-full-width="true"><thead><tr><th width="131">Name</th><th width="149">Type</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td><code>hash</code></td><td>string</td><td>API key</td><td>fk5f0iuy-rr06-j4x3-i75b-fy2s67s4ilo1</td></tr><tr><td><code>link</code></td><td>string</td><td>Link</td><td>https://product.triangle.digital</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}
{% code fullWidth="false" %}

```json
{
    "message": "The web-hook link was successfully added.",
    "success": true,
    "data": {
        "jwt_secret": "6219f9ed85e0024ff353ff615f0fc0c23b862a32a8e9982e6b0da8d367b178dd"
    },
    "operations_count": 1
}
```

{% endcode %}
{% endtab %}

{% tab title="400" %}

```json
{
  "message": "Error! No such hash.",
  "success": false,
}
```

{% endtab %}
{% endtabs %}
