> For the complete documentation index, see [llms.txt](https://talque.gitbook.io/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://talque.gitbook.io/public/webhooks/map-features/update-references.md).

# Update references

## Update map references

<mark style="color:green;">`POST`</mark> `https://www.talque.com/webhook/org/<org_id>/map/ref/update`

This endpoint must be called after creating or updating the layers and features. It then updates internal caches and cross-references to the map data.

**Body**

This request has no body, i.e. empty json object `{}`

**Response**

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

```json
{
  "success": true,
  "updatedRooms": 2,
  "updatedVendors": 30
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
