Skip to main content
POST
Create a new channel (agent)

Authorizations

x-api-key
string
header
required

Placet API key (hp_...)

Body

application/json
name
string
required
Minimum string length: 1
description
string
avatarUrl
string<uri>
webhookUrl
string<uri>

Response

Agent created

id
string
required
Example:

"clxyz456"

name
string
required
Example:

"My Agent"

createdAt
string
required
Example:

"2025-01-01T00:00:00.000Z"

description
string
Example:

"A helpful assistant"

avatarUrl
string
Example:

"https://example.com/avatar.png"

webhookUrl
string
Example:

"https://example.com/webhook"

lastActiveAt
string
Example:

"2025-01-01T12:00:00.000Z"