Yes/No Intents
Get Yes/No Intents
Gets the Yes/No Intents of a Locale.
get/v2.0/locales/{localeId}/yesnointents
Request
- Base URLhttps://api-trial.cognigy.ai/testing
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or API key in header x-cxone-authorization
- or OAuth 2Authorization code/auth/oauth2/authorizePasswordToken URL/auth/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.