Create Bot

Create Bot

POST https://api.talkplus.io/v1.4/api/bots/create

Headers

Name
Type
Description

content-type

string

application/json

app-id*

string

App ID

api-key*

string

App API key

Request Body

Name
Type
Description

id*

string

unique bot ID (must be URI valid, max char length: 68)

name

string

profileImageUrl

string

type

string

user-defined value (max char length: 68)

callbackUrl

string

this address will be called when a message event occurs in the joined channels

{
  "bot": {
    "id": "bot_001",
    "name": "channel_001_bot",
    "profileImageUrl": "http://cnd.test.com/123.jpg",
    "type": "cs",
    "callbackUrl": "http://someaddress.com/for-handling-callback"
  }
}

Last updated