WebsApp API v1.0
Synthesize from
Your Own Infrastructure
Integrate WebsApp's architectural intelligence directly into your workflow. Our REST API allows you to programmatically generate Next.js structures and high-conversion copy.
Authentication
The WebsApp API uses Bearer tokens for authentication. You can generate an API key from your Account Settings.
Request Example
curl -X GET "https://api.websapp.ai/v1/user" \
-H "Authorization: Bearer YOUR_API_KEY"POST
Synthesize Content
Generate conversion-optimized website copy based on a brief and target audience.
Body Parameters
promptString. The concept brief for generation.toneString. "professional", "casual", or "witty".audienceString. The target demographic.
Response Object
{
"id": "gen_84fk2...",
"headline": "...",
"paragraph": "...",
"usage": { "credits": 1 }
}POST
Architect Layout
Generate ready-to-use Next.js 15 component code and layout structures.
Webhooks
Receive async generation results via signed POST requests to your designated callback URL.
Streaming
Use Server-Sent Events (SSE) to stream code tokens in real-time for interactive UI builders.
Need a higher rate limit?
Enterprise API keys include dedicated support and custom model tuning.