Skip to content

← Back to the owner guide

Verify tester activity

Optional. Show that a tester really used your app, so their daily check-ins can be matched to real activity. DDRC never receives your users' personal data, only a reference and what happened.

How it works

  1. On your listing, open Verify activity and create your API key. It is shown once.
  2. Each accepted tester gets a personal reference such as DDRC-7K2P3 on their test page. Tell testers where to type it in your app (a referral, notes or username field you already have).
  3. When that tester does something, your server sends us the reference and the event. We mark that day verified.
  4. Owners and admins see a square for each day: verified, not reported, or owner says no activity.
Fair to testers. A day with no report is only “not reported”. It never counts against a tester unless you explicitly say there was no activity, and your connection was working at the time.

Send an event

POST https://ddrc.info/api/v1/activity with your key as a bearer token. Call it from your server, never from the app itself, so the key stays secret.

curl -X POST https://ddrc.info/api/v1/activity \
  -H "Authorization: Bearer ddrc_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "ref": "DDRC-7K2P3",
    "event": "booking_attempt",
    "event_id": "order-1042",
    "occurred_at": "2026-11-02T09:30:00Z"
  }'
  • ref (required): the tester's reference.
  • event (required): a short label like registered, opened, booking_attempt. Letters, numbers, _ . : -, up to 40 characters.
  • event_id (optional): your own id. Sending the same one twice is harmless.
  • occurred_at (optional): ISO time, up to 7 days back. Defaults to now.
  • Send up to 100 at once as {"events": [ ... ]}. Up to 1,200 requests an hour.

Reply: {"ok": true, "accepted": 1, "results": [{"ref": "DDRC-7K2P3", "status": "ok"}]}. A status can be ok, duplicate, unknown_ref, outside_test_window or invalid.

Test it first: send the reference DDRC-TEST0. You get test_ok and your connection shows as working. No tester is touched. GET /api/v1/activity with your key also checks it.

Code samples

Node.js

await fetch("https://ddrc.info/api/v1/activity", {
  method: "POST",
  headers: { Authorization: "Bearer " + process.env.DDRC_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({ ref, event: "registered", event_id: String(user.id) }),
});

PHP (Laravel)

Http::withToken(config('services.ddrc.key'))
    ->post('https://ddrc.info/api/v1/activity', [
        'ref' => $ref, 'event' => 'registered', 'event_id' => (string) $user->id,
    ]);

Python

import requests, os
requests.post("https://ddrc.info/api/v1/activity",
    headers={"Authorization": "Bearer " + os.environ["DDRC_KEY"]},
    json={"ref": ref, "event": "registered", "event_id": str(user_id)}, timeout=5)

Flutter / React Native

The app sends the reference to your server as part of sign-up (a field in your registration or profile request). Your server then makes the call above. Do not put the DDRC key inside the app.

Connect your AI assistant (MCP)

DDRC has an MCP server, so an assistant such as Claude, Cursor or Copilot can check your connection, read tester activity, send a test event and write the integration code for your stack. It uses the same API key as above, so it can only see your own listing.

Claude Code

claude mcp add --transport http ddrc https://ddrc.info/api/mcp \
  --header "Authorization: Bearer $DDRC_KEY"

Claude Desktop, Cursor and others (JSON settings)

{
  "mcpServers": {
    "ddrc": {
      "url": "https://ddrc.info/api/mcp",
      "headers": { "Authorization": "Bearer ddrc_live_xxxxxxxx" }
    }
  }
}

Tools: connection_status, list_testers, get_tester_activity, send_activity, upload_activity_list, integration_guide. Try asking: “Check my DDRC connection, then add activity reporting to my sign-up code.”

What the assistant never gets: tester names, emails, phone numbers, notes or screenshots. Only references, statuses, day numbers and event labels. The server refuses requests that come from a web page.

Keep your key safe

  • Treat the key like a password. Keep it in an environment variable on your server, never in the app, a repository or a chat.
  • If it may have leaked, open Verify activity and choose Replace the key. The old key stops working at once.
  • Use a separate key per listing. Each key only works for its own listing.
  • Repeated wrong keys from one address are blocked for a while. If you see 429, wait ten minutes.
  • Your assistant's config file holds the key. Do not commit it, and prefer your assistant's secret or environment-variable feature.

Prefer not to send events?

Pull: give us one https endpoint. Once a day we call it with ?ref=DDRC-7K2P3&date=2026-11-02 and Authorization: Bearer <secret>. Reply {"active": true, "events": 4} or {"active": false}.

No code: paste the references that were active on a date. Testers not on a finished day's list are marked as having no activity.

Back to my dashboard

Activity verification guide | DDRC | DDRC