Configure Your Integration
Choose Platform
Output Format
Configuration
Platform: Zapier
URL: https://mythictext-api.vercel.app/convert
Method: POST
Headers:
X-API-Key: [YOUR_API_KEY]
Content-Type: text/plain
X-Output-Target: gmail
Body: {{1. Text}}Code Examples
JavaScript
const response = await fetch('https://mythictext-api.vercel.app/convert', {
method: 'POST',
headers: {
'X-API-Key': '[YOUR_API_KEY]',
'Content-Type': 'text/plain',
'X-Output-Target': 'gmail'
},
body: markdownText
});
const result = await response.json();
console.log(result.html);Python
import requests
headers = {
'X-API-Key': '[YOUR_API_KEY]',
'Content-Type': 'text/plain',
'X-Output-Target': 'gmail'
}
response = requests.post(
'https://mythictext-api.vercel.app/convert',
headers=headers,
data=markdown_text
)
result = response.json()
print(result['html'])cURL
curl -X POST https://mythictext-api.vercel.app/convert \ -H "X-API-Key: [YOUR_API_KEY]" \ -H "Content-Type: text/plain" \ -H "X-Output-Target: gmail" \ -d "# Hello World This is **bold** text."
🔑 Need an API Key?
Replace [YOUR_API_KEY] with your actual API key from the dashboard.