Validate a list of call reasons
Check up to 10 candidate call_reasons strings against Telnyx’s vetting heuristics before sending them on a DIR create or update. The endpoint flags strings that are likely to be rejected during vetting (too generic, banned phrases, length issues, etc.) so you can fix them up front.
POST
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required array length:
1 - 10 elementsMaximum string length:
64Example:
[
"Appointment reminders",
"Billing inquiries"
]Response
Per-string validation result.
JavaScript