Audio Management
Audio files bring your call flows to life. Gomobile provides a complete system for uploading, organizing, and using audio in your campaigns.
Supported formats
Gomobile accepts common audio formats and converts them for telephony use:
WAV (recommended)
MP3
OGG
For best quality, upload WAV files at 8kHz sample rate, 16-bit mono. Files are automatically converted if they don't match this specification.
Uploading audio
Upload an audio file:
curl -X POST https://api.gomobile.io/audio-management/upload \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@/path/to/audio.wav" \
-F "title=Welcome Message" \
-F "description=Main greeting for payment campaigns" \
-F "usageType=welcome" \
-F "tags=greeting,payment"Response:
Usage types
Categorize your audio for easier management:
welcome
Greeting messages
goodbye
Closing messages
question
Questions for the recipient
prompt
Instructional prompts
hold_music
Music for hold situations
notification
Alert messages
other
Anything else
Listing audio files
Browse your audio library:
Filter options:
search
Search title, description, tags
usageType
Filter by usage type
tags
Filter by tags
sortBy
createdAt, title, durationSeconds
sortOrder
asc or desc
Getting audio metadata
Retrieve details about a specific audio file:
Streaming audio
Stream the audio file directly:
This returns the binary audio data with appropriate headers for playback.
Playback URLs
Generate a temporary signed URL for external playback:
Response:
Use this for previewing audio in your application or sharing with team members.
Updating audio metadata
Change title, description, or tags:
You can't replace the audio file itself—upload a new file and update your flows.
Deleting audio
Remove an audio file:
Make sure no active flows reference the audio before deleting.
Using audio in flows
Reference audio files in Play nodes:
Audio items play in sequence.
Dynamic audio references
You can reference audio IDs stored in variables:
This allows for dynamic audio selection based on contact data or flow logic.
Recording guidelines
For professional-quality recordings:
Use a quiet environment - Minimize background noise
Maintain consistent volume - Don't vary too much between recordings
Speak clearly - Moderate pace, clear pronunciation
Keep messages concise - Get to the point quickly
Test on actual phones - Quality differs from computer speakers
Organizing your library
As your audio library grows:
Use consistent naming -
campaign_type_message.wavLeverage tags - Add multiple relevant tags
Set usage types - Makes filtering easier
Write descriptions - Future you will appreciate it
Archive old audio - Don't delete, just organize
File size limits
Trial
5 MB
60 seconds
Free
10 MB
2 minutes
Basic
25 MB
5 minutes
Advanced
50 MB
10 minutes
Enterprise
Custom
Custom
Related topics
Call Flows - Using audio in flows
Dictionaries - Dynamic word/number audio
Last updated

