Save a custom game
create_custom_gameSaves a supplied self-contained HTML game as a free private draft. Returns a preview URL and private management token. Accepted games have inline code and embedded assets, keyboard and touch controls, a goal and restart. Network requests, payments and personal-data collection are prohibited. Repeated requests with the same idempotency key return the existing draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | ||
| theme | No | sunshine | |
| title | Yes | ||
| sender | Yes | ||
| concept | Yes | ||
| message | No | ||
| occasion | No | just-because | |
| recipient | Yes | ||
| idempotencyKey | Yes | ||
| recipientEmail | No |