v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Yes/No Intents

Get Yes/No Intents

Gets the Yes/No Intents of a Locale.

get/v2.0/locales/{localeId}/yesnointents

Path parameters

localeIdstring required

The unique identifier for the Locale.

Response

Returns an object containing the yesIntent, noIntent, rejectIntent for the given locale

Example response

{
  "yesIntent": {
    "name": "pizza"
  },
  "noIntent": {
    "name": "pizza"
  },
  "rejectIntent": {
    "name": "pizza"
  }
}