Links
Comment on page

Faq

The Faq model

Key
Type
Description
id
String
The unique identifier for the faq which is given by Tiledesk.
question
String
The faq question.
answer
String
The faq answer
language
String
The faq language
id_faq_kb
String
The bot identifier of the faq
language
String
The faq language with two-letter ISO 639-1 code.
intent_display_name
String
The intent display name. This is a unique indentifier of the faq
webhook_enabled
Boolean
Enable the webhook fullfillment endpoint for this intent
attributes
Object
The custom attributes which are set for the faq.
createdAt
String
The time when the faq was created.
updatedAt
String
The time when the faq was updated.
createdBy
String
The unique identifier of the row creator
id_project
String
The unique identifier of the project
form
JSON
The form to fill out before continuing with intent execution
reply
JSON
The message reply to be sent
enabled
Boolean
If false the intent is not processed
get
https://api.tiledesk.com/v3
/:project_id/faq
Get all faqs of a bot
Example
curl -v -X GET -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/faq?id_faq_kb=5be9b2ecc72a050015e14951
get
https://api.tiledesk.com/v3
/:project_id/faq/
Get a faq by id
Example
curl -v -X GET -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/faq/5be9b2ecc72a050015e14951
post
https://api.tiledesk.com/v3
/:project_id/faq
Create a new faq
Example:
curl -v -X POST -H 'Content-Type: application/json' -u [email protected]:123456 -d '{"id_faq_kb":"123321", "question":"question", "answer":"answer"}' https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/faq
put
https://api.tiledesk.com/v3
/:project_id/faq/:id
Update a faq
Example:
curl -v -X PUT -H 'Content-Type: application/json' -u [email protected]:123456 -d '{"name":"bot1"}' https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/faq/5be9b2ecc72a050015e14951
delete
https://api.tiledesk.com/v3
/:project_id/faq/:id
Delete a faq
Example:
curl -v -X DELETE -H 'Content-Type: application/json' -u [email protected]:123456 https://api.tiledesk.com/v3/5b55e806c93dde00143163dd/faq/5be9b2ecc72a050015e14951
Last modified 13d ago