Developers

Build With Our API

Powerful REST API, official SDKs, and webhooks. Build custom integrations in minutes.

REST API

Simple, Powerful API

Our RESTful API gives you full access to all platform features. Create websites, manage content, sync CRM data, and automate workflows.

  • RESTful design with predictable URLs
  • JSON request and response bodies
  • OAuth 2.0 authentication
  • Rate limiting with clear headers
Create a Website
# Create a new website
curl -X POST "https://api.promtys.com/v1/websites" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "business_name": "Acme Corp",
    "industry": "technology",
    "niche": "saas",
    "locale": "en_US"
  }'

# Response
{
  "id": "ws_abc123",
  "status": "generating",
  "url": "https://acme-corp.promtys.site",
  "admin_url": "https://acme-corp.promtys.site/wp-admin",
  "created_at": "2024-01-15T10:30:00Z"
}

Official SDKs

Get started quickly with our official SDKs for popular languages.

Node.js

npm install @promtys/sdk Documentation

Python

pip install promtys Documentation

PHP

composer require promtys/sdk Documentation

Ruby

gem install promtys Documentation
Webhooks

Real-time Event Notifications

Receive instant notifications when events happen. Build reactive applications that respond to changes in real-time.

Available Events

website.created website.published content.updated lead.created booking.confirmed sync.completed
Webhook Documentation
Webhook Payload
{
  "id": "evt_abc123",
  "type": "website.published",
  "created_at": "2024-01-15T10:30:00Z",
  "data": {
    "website_id": "ws_xyz789",
    "url": "https://acme-corp.com",
    "status": "live",
    "pages": 8,
    "metadata": {
      "industry": "technology",
      "template": "saas-modern"
    }
  }
}

Ready to Build?

Get your API key and start building in minutes. Free tier available.