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

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"
}
)
{
"id":"string"
}
The user was created successfully