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 →Getting Started
Quick start guide to authenticate and make your first API call.
API Reference
Complete REST API documentation with examples and endpoint details.
API Workbench
Test API endpoints interactively with your account.
Official SDKs
TypeScript and Python SDKs with full type safety and async support.
TypeScript SDK
Full-featured SDK with middleware, retry strategies, and type safety.
Python SDK
Async-first Python SDK with httpx and pydantic support.
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.
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'
})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/v1All API endpoints are versioned and served over HTTPS.