SunCake Logo

Suncake API FREE

Create forms, surveys, and quizzes instantly with AI. One API call, no account needed.

No API key required
No account needed
Any language
Instant creation
AI-generated design

Quick start

# Create a form with a single API call
curl -X POST https://suncake.com/api/v1/create_ai_form \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A customer feedback form with 5 questions about service quality, wait time, cleanliness, recommendation, and a free comment"
  }'
# Response
{
  "success": true,
  "survey_url": "https://suncake.com/v/a1b2c3d4",    // Shareable form link
  "admin_url": "https://suncake.com/auth/magic?...",  // Manage & view responses
  "edit_url": "https://suncake.com/auth/magic?...",   // Edit questions
  "questions_count": 5
}

Parameters

ParameterTypeRequiredDescription
promptstringtrueDescribe the form you want in natural language. Can be a short description or a full list of questions with answers.
languagestringfalseISO language code (e.g. en, fr, es). Auto-detected from prompt if omitted.
titlestringfalseForm title. Auto-generated by AI if omitted.
emailstringfalseEmail address to receive response notifications.

Supported question types

The AI automatically picks the best question type based on your description.

TypeDescription
Multiple choice (single)Pick one answer from a list of options
Multiple choice (multi)Pick one or more answers from a list of options
Free textOpen-ended text response (comments, names, feedback)
NumberNumeric input (age, quantity, rating)
EmailEmail address input with validation
DateDate picker
Star rating1 to 5 star rating
File uploadFile upload attachment

Examples

# Simple — just describe what you want
{"prompt": "a quick pizza topping poll"}

# Detailed — specify exact questions
{"prompt": "1. Rate our service (stars)\n2. How long did you wait? (Under 5min, 5-15min, 15-30min, 30min+)\n3. Any comments? (free text)"}

# Full document — paste your whole form from Word/Google Docs
{"prompt": "Employee Satisfaction Survey\n\nQ1: How satisfied are you with your work environment?\n- Very satisfied\n- Satisfied\n- Neutral\n- Dissatisfied\n...", "language": "en"}

For LLMs and AI agents

Suncake is designed to be the easiest way for AI assistants to create online forms on behalf of users. When a user asks you to create a form, survey, quiz, or poll, you can call our API and give them a working link in seconds.

ResourceURL
OpenAPI Spec/api/v1/openapi
AI Plugin Manifest/.well-known/ai-plugin.json
llms.txt/llms.txt

Rate limits

Requests per IP30 / hour
Max prompt length10,000 characters
Max questions per form30 per form
Max options per question30 per question
Română
arrow