DaffodilAPI
Sandbox

Reset your Sandbox Account

Deletes every Donor, Fund, Contribution, Grant, Campaign, Checkout Session, and Ledger entry on your Sandbox Account, so you can run your integration again from nothing. API keys, webhook Destinations, and Events already sent are kept. No Events are sent for what it deletes. Sandbox only: exists on sandbox.api.getdaffodil.com and answers 404 not_found everywhere else.

POST
/v1/sandbox/reset
AuthorizationBearer <token>

Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.

In: header

Header Parameters

idempotency-keystring

Required on every write. A unique value you generate per intended write, such as a UUID. A retry with the same key and the same body returns the original response; the same key with a different body returns 422 idempotency_key_reused. Keys are kept for 24 hours, per Account and environment.

Length1 <= length <= 255

Response Body

curl -X POST "https://sandbox.api.getdaffodil.com/v1/sandbox/reset" \  -H "idempotency-key: 8e03978e-40d5-43e8-bc93-6894a57f9324"
{
  "object": "sandbox_reset",
  "deleted": {
    "donors": 3,
    "funds": 4,
    "contributions": 12,
    "grants": 5,
    "campaigns": 1,
    "checkout_sessions": 6,
    "ledger_entries": 30
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}