Can't add pronunciation rule
I'm trying to add a pronunciation rule.
I'm making a POST request with the following body to https://api.vapi.ai/provider/11labs/pronunciation-dictionary:
But I'm getting a 400 error with a response body of:
Why?
I'm making a POST request with the following body to https://api.vapi.ai/provider/11labs/pronunciation-dictionary:
{
"name": "Finance Dictionary",
"rules": [
{
"stringToReplace": "INV-",
"type": "alias",
"alias": "I N V dash"
}
]
}But I'm getting a 400 error with a response body of:
{
"message": "Unsupported data type. Either file or rules must be provided.",
"error": "Bad Request",
"statusCode": 400
}Why?