Skip to main content
POST
Create skill

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Input data for creating a skills

name
string | null
required

Customer Support Representative

Example:

"Customer Support Representative"

definition
string | null
required

Instruction

Example:

"Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund"

callPrompt
string | null
required

Instruction

Example:

"Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund"

whatsappPrompt
string | null
required

Instruction

Example:

"Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund"

smsPrompt
string | null
required

Instruction

Example:

"Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund"

emailPrompt
string | null
required

Instruction

Example:

"Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund"

initialMessage
string | null
required

Greeting message

Example:

"Hi, thank you for reaching out to Happy Customer. This is {{aiName}}. How may I help you today?"

Response

skills created successfully