Search contents

You can easily filter your contents by a search keyword. For this, you need to first create a payload of type SearchDialogueRequest and set all the necessary parameters as below.

var request = new SearchDialogueRequest();
request.Slug = '[Your Slug]';
request.AccessToken = '[Your Access Token]';
request.IsPilot = true // If you want the Piloted version
request.Variables = new Dictionary<string, object>
{
//Any variables that you want to pass
};

Then, just set the Keyword property with the keyword you need to search.

request.Keyword = '[Your search keyword]';

Then all you need to do is to call the SearchContents method using this payload.

var dialogueWiseClient = new DialogueWiseClient();
var response = await dialogueWiseClient.SearchContents(request);

That’s it! You will now get a response of type DialogueWiseResponse which will contain all the matching content.