API reference
Read AI voice permissions
Read the talent's stated AI editing and version permissions.
GET
/api/v1/consentaccount:readMCP: consent_get
Request
Examples use sample IDs and upload handles. Replace them with values returned for your assigned work before making a call.
curl -X GET 'https://talent.radioworkflow.com/api/v1/consent' \ -H "Authorization: Bearer $TALENT_API_KEY"
Request fields
All requests use a bearer API key.
No request fields.
Complete request schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false,
"required": []
}Response
HTTP 200 returns a JSON object. Read ok before using its fields. IDs are decimal strings, instants are Unix seconds, and a missing value is null.
- ok
- true
- api_version
- "1"
- consent
- object
Complete response schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"api_version": {
"type": "string",
"const": "1"
},
"consent": {
"type": "object",
"properties": {
"set": {
"type": "boolean"
},
"dsp": {
"type": "string",
"const": "yes"
},
"ai_word_fixes": {
"anyOf": [
{
"type": "string",
"enum": [
"yes",
"ask",
"no"
]
},
{
"type": "null"
}
]
},
"ai_versions": {
"anyOf": [
{
"type": "string",
"enum": [
"yes",
"ask",
"no"
]
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"set",
"dsp",
"ai_word_fixes",
"ai_versions",
"updated_at"
],
"additionalProperties": false
}
},
"required": [
"ok",
"api_version",
"consent"
],
"additionalProperties": false
}