notes voice transcribe
POST
/api/v1/notes/voice/transcriptions
const url = 'https://example.com/api/v1/notes/voice/transcriptions?target=note&target_id=example';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'audio/webm'}, body: 'example'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'https://example.com/api/v1/notes/voice/transcriptions?target=note&target_id=example' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: audio/webm' \ --data exampleRoute: /api/v1/notes/voice/transcriptions. Inputs: target, target_id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”target
required
string
target_id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeaudio/webm
string
Responses
Section titled “Responses”Media typeapplication/json
object
id
required
string
status
required
string
Examplegenerated
{ "id": "example", "status": "example"}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}