Create Partner User Token

Create partner user token

post
/v1/partner/user/{userId}/token/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

userIdstring* Required

The ID of the user

Request Body * Required

Request Body Schema: application/json

curl -X POST "https://api.chatbotkit.com/v1/partner/user/{userId}/token/create" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {} EOF
{
"id":"string",
"token":"string",
"createdAt":"number"
}
The user token was created successfully