---
title: "ACCOUNTS_RETRIEVED"
method: POST
path: "accounts_retrieved"
---

# ACCOUNTS_RETRIEVED

`POST accounts_retrieved` (webhook)

Fired when a user's merchant accounts are successfully retrieved from their Google Account. This event is specific to the MassSwitcher feature.

## Payload

- AccountsRetrievedWebhook
  - `event` string: Name of the webhook event.
  - `session_id` string: Unique identifier for the session.
  - `task_id` integer: Unique identifier for the task.
  - `external_user_id` string: Unique identifier for the user.
  - `merchant` object
    - `id` integer: Unique identifier for the merchant.
    - `name` string: Name of the merchant.
  - `data` object
    - `metadata` object, nullable: Custom key-value pairs provided during session creation or SDK invocation. Only present if metadata was provided.
  - `timestamp` integer: Unix timestamp of the webhook event in UTC.

---

[API](https://skmtc.dev/knotapi/apis/knot-api.md) - [All operations](https://skmtc.dev/knotapi/apis/knot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knotapi/apis/knot-api/revisions/f10ecfa12c00?raw)
