> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fintoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test your webhook endpoint

Test your webhook endpoints before registering them in `live` mode.

<Info>
  **Test endpoints locally**

  Use a tool such as [`localtunnel`](https://localtunnel.me) to test endpoints during local development. Localtunnel exposes a local port to the internet and returns a public URL. Register this URL as your endpoint.
</Info>

## Test your webhooks through the dashboard

You can test your webhook endpoints from the [Fintoc Dashboard](https://dashboard.fintoc.com/dashboard) in three steps:

1. In the dashboard's webhooks section, register a webhook endpoint in `test` mode.
2. Select the webhook endpoint to open its detail drawer.
3. Click the send-test icon for each subscribed event to send a test webhook.

The dashboard sends the test event to your webhook endpoint and displays the event details.

Test events carry fake data that you cannot use to query the Fintoc API. For example, a test `account.refresh_intent.succeeded` event has the following JSON payload:

```json theme={null}
{
  "id": "evt_1zgnKZmDC2A59vrX",
  "type": "account.refresh_intent.succeeded",
  "mode": "test",
  "created_at": "2021-07-07T15:15:09.802Z",
  "data": {
    "object": "refresh_intent",
    "refreshed_object": "account",
    "refreshed_object_id": "acc_00000000",
    "status": "succeeded",
    "public_error": null,
    "created_at": "2021-06-28T00:00:00.000Z",
    "type": "only_last",
    "new_movements": 5
  },
  "object": "event"
}
```

The `refreshed_object_id` value, `acc_00000000`, identifies a fake account. The [get account endpoint](/api/movements-api/accounts/accounts-get) cannot return details for this account.

<Info>
  **Live mode webhooks**

  You cannot test `live` mode webhooks through the dashboard. Fintoc sends `live` mode events only under specific conditions, such as when a connected account updates with its latest bank movements.
</Info>
