Authorization: Bearer ********************curl --location '/realtime/translations/client_secrets' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"expires_after": {
"anchor": "created_at",
"seconds": 600
},
"session": {
"model": "string",
"audio": {
"input": {
"transcription": {
"model": "string"
},
"noise_reduction": {
"type": "near_field"
}
},
"output": {
"language": "string"
}
}
}
}'{
"value": "string",
"expires_at": 0,
"session": {
"id": "string",
"type": "translation",
"expires_at": 0,
"model": "string",
"audio": {
"input": {
"transcription": {
"model": "string"
},
"noise_reduction": {
"type": "near_field"
}
},
"output": {
"language": "string"
}
}
}
}