Transform content, publish newsletters, and manage podcasts programmatically
POST /functions/v1/transform-content
Transform text between different formats using AI
{
"content": "Your content here",
"sourceFormat": "article",
"targetFormat": "tweet"
}Supported formats: article, tweet, linkedin, newsletter, podcast-script
POST /functions/v1/publish-newsletter
Create and publish a newsletter to your custom URL
{
"title": "Newsletter Title",
"content": "Newsletter content...",
"slug": "newsletter-slug"
}POST /functions/v1/publish-podcast
Create and publish a podcast episode
{
"title": "Episode Title",
"description": "Episode description...",
"audioUrl": "https://...",
"slug": "episode-slug"
}All API requests require authentication using your Supabase access token:
Authorization: Bearer YOUR_ACCESS_TOKEN Content-Type: application/json
Get your access token from the dashboard after signing up.