Partners

Create Partner User

Create partner user

post
/v1/partner/user/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

imagestring

The image of the partner user

emailstring

The email of the partner user

limitsobject

Limits information

tokensnumber

The tokens limit

conversationsnumber

The conversations limit

messagesnumber

The messages limit

databaseobject

The database limits

datasetsnumber

The datasets limit

recordsnumber

The records limit

skillsetsnumber

The skillsets limit

abilitiesnumber

The abilities limit

filesnumber

The files limit

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.partner.user.create(

{
"name":"string",
"description":"string",
"meta":"object",
"image":"string",
"email":"string",
"limits":{
"tokens":"number",
"conversations":"number",
"messages":"number",
"database":{
"datasets":"number",
"records":"number",
"skillsets":"number",
"abilities":"number",
"files":"number"
}
}
}
)
{
"id":"string"
}
The user was created successfully