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

# sandbox.reset

> Пісочниця повернулася до початкових даних, кнопкою чи через API. Ключі й вебхуки залишилися.

Цю подію надсилає лише [пісочниця](https://docs.degroshi.com/developers/sandbox.md). Скидання стирає її дані й засіває їх знову, і ні стирання, ні
нові дані інших подій не надсилають: тести інтеграції можуть чекати саме на цю. `origin` каже, звідки скинули: `api`
(`POST /v1/sandbox/reset`) чи `app` (кнопка на вебсайті). API-ключ бачить цю подію, якщо може читати операції
(`transactions:read`).

Що приходить у тілі запиту, видно нижче на прикладі; поля описано англійською, як і весь довідник API. Як прийняти
подію, перевірити підпис і що робити з повторами, описано у [Вебхуках](https://docs.degroshi.com/developers/webhooks.md). Пропущені події за останні
30 днів повертає `GET /v1/events`.


## OpenAPI

````yaml public-openapi.json webhook sandbox.reset
openapi: 3.1.0
info:
  contact:
    email: support@degroshi.com
    name: Degroshi Support
  description: >-
    The routes a personal access token may call, each with the scope it needs
    (x-required-scope; `any:read` takes any read scope, `any:token` any token).
    Send the token as X-API-Key and the space as X-Space-ID (optional for a
    token bound to one space). Send X-Display-Currency (ISO 4217) to get
    converted amounts and totals in that currency. Each token has its own rate
    limit: past it a request answers 429 (BIZ_080) with Retry-After, and every
    answer carries X-RateLimit-Limit, -Remaining and -Reset. v1 changes only by
    addition. `x-error-codes` lists the error codes these routes' families can
    answer, each with its HTTP statuses. `webhooks` lists the events a webhook
    endpoint receives, each signed in Degroshi-Signature.
  title: Degroshi public API
  version: '1.0'
servers:
  - description: Production server
    url: https://api.degroshi.com
security:
  - ApiKeyAuth: []
paths: {}
components:
  securitySchemes:
    ApiKeyAuth:
      description: >-
        A personal access token. In the reference console at docs.degroshi.com,
        paste a sandbox key (`dg_test_…`): the console takes sandbox keys only
        and answers 403 AUTH_081 to any other.
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.