QnA via API
Last updated
Last updated
In this documentation, we will explain how to integrate a QnA via API in your QnA Path.
QnA via API is useful for organizations that wanted to make an QnA Path but need to answer the recipients with dynamic data.
Head to "Setup" and click "QnA Path" and create QnA Path
Input title and choose "QnA via API" as the QnA type
Insert your URL to the field and you can test API call to the url that you provided to see if the reply is correct.
Below is the example POST request payload that our system will send to the url that you have input:
Your API must return response with this payload when called:
if the API call failed, our system will not send the error to your recipients, instead we will send a message that you have input in "Reply message on API error" field. But if you leave this fielf blank, then we will not reply anything to recipients.
Click "Create" on the top right corner to finalize creating a QnA via API.