Save a transcription provider key
curl --request POST \
--url https://api.importly.io/transcription-provider \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "deepgram",
"apiKey": "YOUR_DEEPGRAM_KEY"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({provider: 'deepgram', apiKey: 'YOUR_DEEPGRAM_KEY'})
};
fetch('https://api.importly.io/transcription-provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.importly.io/transcription-provider"
payload = {
"provider": "deepgram",
"apiKey": "YOUR_DEEPGRAM_KEY"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Transcription provider saved successfully"
}Account settings
Save a transcription provider key
Store your AssemblyAI, Deepgram, or OpenAI key so transcriptions with that provider don’t need apiKey.
Save a transcription provider key
curl --request POST \
--url https://api.importly.io/transcription-provider \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "deepgram",
"apiKey": "YOUR_DEEPGRAM_KEY"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({provider: 'deepgram', apiKey: 'YOUR_DEEPGRAM_KEY'})
};
fetch('https://api.importly.io/transcription-provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.importly.io/transcription-provider"
payload = {
"provider": "deepgram",
"apiKey": "YOUR_DEEPGRAM_KEY"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Transcription provider saved successfully"
}There’s no “Try it” on this page, so your storage secrets and provider keys never pass through the docs site. Run the request from your own terminal or server.
Authorizations
Body
application/json