INTENT
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptionalExample:
{"name":"greeting","scopeId":1,"description":"Greeting intent","context":"greetings","type":"general","language":"en","expressions":["hello","hi there","good morning","how are you"],"responses":["Hello! How can I help you today?","Hi there! What can I do for you?"]}Responses
200
Successful response
application/json
post
/api/v1/intent/200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
29Body
objectOptionalExample:
{"name":"Updated Intent","scopeId":1,"type":"test","description":"Updated description","context":"Updated context","expressions":["updated expression one","updated expression two"],"responses":["updated response one","updated response two"]}Responses
200
Successful response
application/json
put
/api/v1/intent/{intentId}200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
1Responses
200
Successful response
application/json
delete
/api/v1/intent/{intentId}/delete200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"permissionSlug":"example-permission-slug","name":"Example Permission"}Responses
200
Successful response
application/json
post
/api/v1/intent/{intentId}/permission200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"slugArray":["permission-slug-1","permission-slug-2"]}Responses
200
Successful response
application/json
post
/api/v1/intent/{intentId}/permission/set200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"expression":"new expression text"}Responses
200
Successful response
application/json
post
/api/v1/intent/{intentId}/expression200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Responses
200
Successful response
application/json
delete
/api/v1/intent/{intentId}/expression200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"oldExpression":"old expression text","newExpression":"modified expression text"}Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/expression200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
31Body
objectOptionalExample:
{"response":"new response text","is_rounded":true}Responses
200
Successful response
application/json
post
/api/v1/intent/{intentId}/response200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Responses
200
Successful response
application/json
delete
/api/v1/intent/{intentId}/response200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"oldResponse":"old response text","newResponse":"modified response text"}Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/response200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptionalExample:
{"context":"updated context text"}Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/context200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
6Body
objectOptional
Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/debug200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
30expressionIdintegerRequiredExample:
105Responses
200
Successful response
application/json
delete
/api/v1/intent/{intentId}/expression/{expressionId}200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
30expressionIdintegerRequiredExample:
106Body
objectOptionalExample:
{"newExpression":"updated expression text"}Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/expression/{expressionId}200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
31responseIdintegerRequiredExample:
185Responses
200
Successful response
application/json
delete
/api/v1/intent/{intentId}/response/{responseId}200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
intentIdintegerRequiredExample:
31responseIdintegerRequiredExample:
185Body
objectOptionalExample:
{"newResponse":"updated response text"}Responses
200
Successful response
application/json
patch
/api/v1/intent/{intentId}/response/{responseId}200
Successful response
Last updated
