Welcome to the Prezent API Platform
Prezent APIs empower your organization to streamline presentation generation and user management at scale. With modular APIs designed for performance, security, and developer experience, you can seamlessly embed Prezent into your workflows.
What You Can Do with Prezent APIs
We currently offer two core APIs:
- AutoGen API- Generate polished presentations tailored to your company's brand, structure, and audience needs using natural language prompts and contextual data.
- SCIM – User Management API- Automate user provisioning from your identity provider to Prezent. Effortlessly manage user access, permissions, and profiles within Prezent.
Quick Start
Get started with our Getting started Guide, which walks you through:
- API key generation
- API authentication using bearer tokens
- Making your first API call using Postman or terminal
- Tips for securely handling your API key
Once set up, explore the detailed API reference for:
Example: Making an Authenticated Request
cURL
curl -X POST https://api.prezent.ai/api/v1/autogenerator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Generate a presentation on AI trends"
}'
Node.js
const axios = require('axios');
const generatePresentation = async () => {
try {
const response = await axios.post('https://api.prezent.ai/api/v1/autogenerator', {
prompt: 'Generate a presentation on AI trends'
}, {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
console.log('Response:', response.data);
return response.data;
} catch (error) {
console.error('Error:', error.response?.data || error.message);
}
};
generatePresentation();
Python
import requests
import json
def generate_presentation():
url = 'https://api.prezent.ai/api/v1/autogenerator'
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
payload = {
'prompt': 'Generate a presentation on AI trends'
}
try:
response = requests.post(url, headers=headers, json=payload)
response.raise_for_status()
print('Response:', response.json())
return response.json()
except requests.exceptions.RequestException as e:
print('Error:', e)
if hasattr(e, 'response') and e.response is not None:
print('Response:', e.response.json())
generate_presentation()
Need Help?
- Visit the Authentication Guide
- Read the API Documentation
- Reach out to our support team at success@prezent.ai