POSThttps://api.assemblyai.com/v2/transcript
Body Parameters
View in API Reference
Request
$curl -X POST https://api.assemblyai.com/v2/transcript \
> -H "Authorization: " \
> -H "Content-Type: application/json" \
> -d '{
> "audio_url": "https://assembly.ai/wildfires.mp3",
> "audio_end_at": 280,
> "audio_start_from": 10,
> "auto_chapters": true,
> "auto_highlights": true,
> "boost_param": "high",
> "content_safety": true,
> "custom_spelling": [
> {
> "from": [
> "dicarlo"
> ],
> "to": "Decarlo"
> }
> ],
> "disfluencies": false,
> "entity_detection": true,
> "filter_profanity": true,
> "format_text": true,
> "iab_categories": true,
> "language_code": "en_us",
> "language_confidence_threshold": 0.7,
> "language_detection": true,
> "multichannel": true,
> "punctuate": true,
> "redact_pii": true,
> "redact_pii_audio": true,
> "redact_pii_audio_quality": "mp3",
> "redact_pii_policies": [
> "us_social_security_number",
> "credit_card_number"
> ],
> "redact_pii_sub": "hash",
> "sentiment_analysis": true,
> "speaker_labels": true,
> "speakers_expected": 2,
> "speech_threshold": 0.5,
> "summarization": true,
> "summary_model": "informative",
> "summary_type": "bullets",
> "topics": [
> "topics"
> ],
> "webhook_auth_header_name": "webhook-secret",
> "webhook_auth_header_value": "webhook-secret-value",
> "webhook_url": "https://your-webhook-url/path",
> "custom_topics": true,
> "dual_channel": false,
> "word_boost": [
> "aws",
> "azure",
> "google cloud"
> ]
>}'
Response