Update an audio article

Update an audio edition by ID

put
Update audio edition

https://app.speechkit.io/api/v3/projects/{project_id}/audio/{audio_id}
This endpoint allows you to update the details of a specific audio article.
Request
Response
Request
Path Parameters
project_id
required
integer
Project ID
audio_id
required
integer
ID or external_id of the audio
Body Parameters
metadata
optional
object
Any custom data related to the audio article
api_key
required
string
Your API key
external_id
optional
string
Your own internal ID you can assign to the audio
body
optional
string
Main content of your audio (max 10000 chars)
title
optional
string
Title for your audio
author
optional
string
Author of the article
article_url
optional
string
Web page (URL) where the article is located
Response
200: OK
Audio successfully updated.
{
"id": 999,
"external_id": "123-a",
"state": "processed",
"media": [
{
"id": 999,
"content_type": "mp3",
"url": "http://link.to/the/file.mp3"
}
],
"deleted": false,
"metadata" :{
"key": string
}
}
400: Bad Request
Invalid request.
401: Unauthorized
Invalid API Key.
404: Not Found
Invalid project ID or audio ID.

For example requests, responses and to test your API calls, check out our API Explorer.