Upload an audio file
POST/api/v1/campaigns/audio/upload
Uploads an audio file to storage and returns the URLs to reference it with. Recommended format: WAV 8 kHz, 16-bit, mono, PCM — GSM and MP3 are also accepted.
Pass the returned fsUrl as audioFile when creating a campaign.
Required capability: CAMPAIGNS
Request
Responses
- 200
- 401
- 403
- 429
- 503
The stored file.
Missing or invalid API key.
A capability required by this endpoint is not enabled on your account. Ask your account manager to switch it on.
Too many requests. Back off and retry.
Storage is not available.