Skip to main content
POST
Send a message in a channel

Authorizations

Authorization
string
header
required

Bearer credential for the public API. Send a live COPE API key (cope_sk_live_*), or a Clerk session token when acting as a signed-in user. Community operations are scoped to the authenticated user; include X-Cope-Business-Id to act on behalf of a specific business you own.

Path Parameters

channel_id
string
required
Pattern: ^[A-Za-z0-9_-]+$

Body

application/json
content
string
required
Minimum string length: 1
message_type
string
metadata
object
reply_to_id
string

Response

Created message

data
object
required