Developer Documentation

Everything you need to integrate Enprompta into your applications. RESTful API, official SDKs, and comprehensive guides.

TypeScript & Python SDKsInteractive WorkbenchOpenAPI Spec

API Access Requires Paid Subscription

The Enprompta API is available on Pro, Team, and Enterprise plans. Free tier users can use the browser extension and web dashboard but cannot access the REST API programmatically.

View pricing plans →

API Features

Built with developers in mind — everything you need for seamless integration.

Authentication

API keys and OAuth2 client credentials flow.

Webhooks

Real-time event notifications with HMAC signing.

Rate Limiting

Tiered rate limits with automatic retry handling.

Idempotency

Safe retries for POST/PUT operations.

Get Started in Minutes

Install our SDK and start managing prompts with just a few lines of code.

TypeScript@enprompta/sdk
import { Enprompta } from '@enprompta/sdk'

const client = new Enprompta({
  apiKey: 'ep_your_api_key'
})

// List prompts
const prompts = await client.prompts.list()

// Create a prompt
const prompt = await client.prompts.create({
  title: 'Email Writer',
  content: 'Write a professional email about {{topic}}'
})

// Execute with variables
const result = await client.prompts.execute(prompt.id, {
  variables: { topic: 'project update' },
  provider: 'openai',
  model: 'gpt-4'
})
Pythonenprompta
from enprompta import Enprompta

client = Enprompta(api_key="ep_your_api_key")

# List prompts
prompts = await client.prompts.list()

# Create a prompt
prompt = await client.prompts.create(
    title="Email Writer",
    content="Write a professional email about {{topic}}"
)

# Execute with variables
result = await client.prompts.execute(
    prompt.id,
    variables={"topic": "project update"},
    provider="openai",
    model="gpt-4"
)

API Base URL

https://enprompta.com/api/v1

All API endpoints are versioned and served over HTTPS.

Documentation - Enprompta API & SDK