Get Skills
Query all skills available in your bot.Path Parameters
| Field | Location | Type | Required | Description |
|---|---|---|---|---|
| botId | Path | string | Yes | Unique identifier of the bot. |
Request Example
Responses
200 - Successful response
200 - Successful response
401 - Unauthorized
401 - Unauthorized
404 - Not Found
404 - Not Found
Response Detail
| Property | Type | Description |
|---|---|---|
| id | integer | Skill ID. This ID must be used to configure redirects. |
| name | string | Skill name. |
| description | string | Skill description. |
| type | string | Skill type. |
| state | boolean | Skill state. Only skills with state true can be used. |
| default | boolean | Indicates whether the skill is selected as the default for the bot. |
| createdAt | date | Skill creation date. |
| updatedAt | date | Date of last update of the skill. |
Configure User Skill
Redirect a user to a specific skill within the conversational flow.Requirements
- The user must have an active session.
Path Parameters
| Field | Location | Type | Required | Description |
|---|---|---|---|---|
| botId | Path | string | Yes | Unique identifier of the bot. |
| userId | Path | string | Yes | Unique identifier of the user. |
| skillId | Path | string | Yes | Identifier of the skill to which the user will be redirected. |
Request Body
| Field | Location | Type | Required | Description |
|---|---|---|---|---|
| memoryParams | Body | object | No | Optional parameters that can be injected and used later in the skill. |
Request Example
Responses
200 - Successful response
200 - Successful response
400 - Bad Request
400 - Bad Request
401 - Unauthorized
401 - Unauthorized
404 - Not Found
404 - Not Found