EndpointsWidgets

Generate manage session permissions URL

Returns a URL for the hosted manage-permissions widget, to display in an iframe. It lets a guardian revisit and change the permissions they previously granted on a session. The `email` must match the guardian who approved that session.

POST
/widget/generate-manage-session-permissions-url
AuthorizationBearer <token>

In: header

Request Body

application/json

Generate manage permissions URL request

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/widget/generate-manage-session-permissions-url" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672",    "email": "parent@example.com"  }'
{  "url": "https://family.k-id.com/widget",  "shortUrl": "https://family.k-id.com/s/12345678-1234-1234-1234-123456789012?pid=42&s=qr"}