product-updates
Generate Product Update
Generate and optionally send a product update email based on recent GitHub activity.
This endpoint:
- Fetches recent commits and merged PRs from the specified GitHub repository
- Uses an LLM to draft a professional product update email
- Sends the email to the specified recipient
Authentication: Requires x-cron-secret header matching CRON_SECRET env var.
This endpoint can be triggered:
- Manually for one-off updates
- By a Supabase Edge Function (bi-weekly)
post/api/v1/internal/product-updates/generate
Request
- Base URL: https://api.seoproai.co
- URL: https://api.seoproai.co/api/v1/internal/product-updates/generate
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize, token URL https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token)
Headers
x-cron-secretstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.