Create a disclosure config

Creates a new disclosure configuration. Disclosures are played at the start of calls to comply with recording/AI notification regulations.

Authentication

AuthorizationBearer

Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.

Request

This endpoint expects an object.
messagestringRequired>=1 character
Disclosure message text
languagestringOptional
Language code

Response

Disclosure created
disclosureobject

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error