{"_id":"585030ffb832763900aa5bab","__v":2,"parentDoc":null,"project":"55aa7d973be8f60d00041d42","category":{"_id":"581b83288ca41f0f007e4fb6","project":"55aa7d973be8f60d00041d42","version":"55aa7d983be8f60d00041d45","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-11-03T18:34:16.595Z","from_sync":false,"order":6,"slug":"chatbots","title":"ChatBots"},"githubsync":"","user":"55aa7d625d3abb0d0012f3da","version":{"_id":"55aa7d983be8f60d00041d45","__v":20,"project":"55aa7d973be8f60d00041d42","createdAt":"2015-07-18T16:23:52.273Z","releaseDate":"2015-07-18T16:23:52.273Z","categories":["55aa7d983be8f60d00041d46","55aacf4e3be8f60d00041d89","55aacfaae2bdcb0d00c7466e","55aacfb3e2bdcb0d00c7466f","55aacfca3be8f60d00041d8a","55b67da3f8105a2f00c351ab","55b7cae4aea7c8190058ba5b","55b9218afeef5135009b7db3","55c182616d7d2921006da013","5631407afa40240d007c8c60","56548b9c9c4c6d0d00aeda0c","572b9137ff3ba10e00b4abb4","572b9150ff3ba10e00b4abb5","581b83288ca41f0f007e4fb6","585065fa70cbe00f00835bb8","58641eba0355f31900380492","58861760b4816e19005c9941","58a316cb254c401b00a049ce","58ac80dbd5e1570f00d1c328","59f72b4991121a00104f036e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-13T17:33:51.154Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"code":"","language":"text"}]},"settings":"","auth":"required","params":[{"_id":"58506caaeee93f1900161b74","ref":"","in":"body","required":false,"desc":"Bot's answer to the message.","default":"","type":"string","name":"response"},{"_id":"58506caaeee93f1900161b73","ref":"","in":"body","required":false,"desc":"Will only send the response to the trigger. The bot will continue the conversation as normal once the user sends another message.","default":"true","type":"boolean","name":"stopNextMessage"},{"_id":"58506caaeee93f1900161b72","ref":"","in":"body","required":false,"desc":"Marks the lead as spam.","default":"false","type":"boolean","name":"ignoreLead"},{"_id":"58506caaeee93f1900161b71","ref":"","in":"body","required":false,"desc":"List of matchers for the trigger. Defined in the json below.","default":"","type":"array_object","name":"matchesList"},{"_id":"58a352ca2ae7ed0f00d372bc","ref":"","in":"path","required":false,"desc":"","default":"","type":"string","name":"id"}],"url":"/sites/:id/chatbot/triggers"},"isReference":false,"order":5,"body":"Check full fields documentation [at Triggers-GET](doc:chatbots-triggers-get)","excerpt":"","slug":"chatbots-triggers-post","type":"endpoint","title":"/sites/:id/chatbot/triggers"}

post/sites/:id/chatbot/triggers


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
string

Body Params

response:
string
Bot's answer to the message.
stopNextMessage:
booleantrue
Will only send the response to the trigger. The bot will continue the conversation as normal once the user sends another message.
ignoreLead:
booleanfalse
Marks the lead as spam.
matchesList:
array of objects
List of matchers for the trigger. Defined in the json below.

Documentation

Check full fields documentation [at Triggers-GET](doc:chatbots-triggers-get)

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}