Paymongo Page Generator API
AI-powered React storefront generator
Endpoints
POST /api/pages- Generate a new page from promptDELETE /api/pages/:pageId- Delete a page by ID
Example Request
POST /api/pages
Content-Type: application/json
Authorization: Bearer <token>
{
"prompt": "A minimalist cafe selling artisanal drinks",
"storefrontId": "sf_abc123",
"creativity": {
"level": "balanced"
}
}