EndpointsTest

Send a test weekly activity digest email

Renders and sends one weekly digest email to the linked adult for a session, using that session's real activity data over the trailing seven days. Intended for previewing the digest during integration. Available only in test mode; a live-mode call is rejected with a `400` `INVALID_INPUT` error.

POST
/test/send-activity-digest
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/test/send-activity-digest" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672"  }'
{  "sent": true}