> ## 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>
  **Testing endpoints locally**

  Use a tool such as [`localtunnel`](https://localtunnel.me) to test endpoints during local development. The tool temporarily exposes a port on your local machine through a public URL.
</Info>

# Test your webhooks through the dashboard

Test your webhook endpoints from the [Fintoc dashboard](https://dashboard.fintoc.com/dashboard):

1. Register a webhook endpoint in `test` mode from the Webhooks section of the dashboard.
2. Click the webhook endpoint to open its detail drawer.
3. Click the icon to the right of a subscribed event to send a test webhook.

The dashboard displays the event sent to your webhook endpoint.

Test events contain 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",
  "createdAt": "2021-07-07T15:15:09.802Z",
  "data": {
    "object": "refresh_intent",
    "refreshedObject": "account",
    "refreshedObjectId": "acc_00000000",
    "status": "created",
    "createdAt": "2021-06-28T00:00:00.000Z"
  },
  "object": "event"
}
```

The `refreshedObjectId` value is `acc_00000000`, a fake account identifier. You cannot use this identifier to retrieve account details from the API.

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