Overview
TheuploadAudio mutation allows you to upload audio files to Fireflies.ai for transcription.
Arguments
Usage Example
To upload a file, provide the necessary input parameters to the mutation. Here’s an example of how this mutation could be used:Authenticated Downloads
Thedownload_auth field allows you to upload audio/video files that require authentication. This is useful when your media files are hosted on private servers or behind authentication.
Bearer Token Authentication
Use bearer token authentication when your media URL requires anAuthorization: Bearer <token> header:
Basic Authentication
Use basic authentication when your media URL requires username and password:FAQ
Can I upload a file directly from my machine?
Can I upload a file directly from my machine?
Audio upload only works with publicly accessible URLs or URLs with supported authentication (bearer token or basic auth). We cannot accept files hosted on your local machine.
I don't want to expose my audio files to the public internet. How can I upload them to Fireflies.ai safely?
I don't want to expose my audio files to the public internet. How can I upload them to Fireflies.ai safely?
You have two options:
- Signed URLs: Use signed URLs with short expiry times (e.g., AWS S3 presigned URLs, Google Cloud Storage signed URLs)
- Authenticated Downloads: Use the
download_authfield to provide bearer token or basic authentication credentials. Fireflies will use these credentials when downloading your media file.
What authentication methods are supported?
What authentication methods are supported?
Fireflies supports two authentication methods for downloading media files:
- Bearer Token: Adds
Authorization: Bearer <token>header when downloading - Basic Auth: Adds
Authorization: Basic <base64(username:password)>header when downloading
If your media file is publicly accessible, you don’t need to provide download_auth.
Error Codes
List of possible error codes that may be returned by theuploadAudio mutation. Full list of error codes can be found here.
account_cancelled
account_cancelled
The user account has been cancelled. Please contact support if you encounter this error.
paid_required (pro_or_higher)
paid_required (pro_or_higher)
You may receieve this error when uploading audio files or querying audio_url field.
Free plan users cannot upload audio files. Please upgrade to a paid plan to upload audio files.
paid_required (business_or_higher)
paid_required (business_or_higher)
You may receieve this error when querying video_url field.
Free/pro plan users cannot query video_url field. Please upgrade to a Business or Enterprise plan to query video_url field.
payload_too_small
payload_too_small
The audio file is too short to be processed. Please ensure the audio file is at least 50kb in size.
invalid_language_code
invalid_language_code
The language code you provided is invalid. Please refer to the Language Codes page for a list of valid language codes.