Set Skill

Redirect a user to a specific skill

Requirements

  • The user must have an active session

curl --request POST \
  --url https://api.jelou.ai/v1/bots/BOT_ID/users/USER_ID/skill/SKILL_ID \
  --header 'Authorization: Basic XXXXXXXXXX==' \
  --header 'Content-Type: application/json' \
  --data '{
	"memoryParams": {
		"test": 1
	}
}'

Headers

Name
Value

Content-Type

application/json

Authorization

Basic TOKEN

Path

Name
Type
Description
Required

BOT_ID

String

Bot ID

Yes

USER_ID

String

User ID

Yes

SKILL_ID

String

ID of the skill to which the user will be redirected

Yes

Body

Name
Type
Description
Required

memoryParams

Object

Inject parameters into the skill to which the user is redirected

No

Response

{
  "message": [
    "Skill set correctly."
  ],
  "statusMessage": "success",
  "status": 1
}

Last updated