Skip to main content
POST
Create a post in a community

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

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

Body

application/json
attachments
object[]
content
string
metadata
object
post_type
enum<string>
Available options:
text,
image,
video,
poll,
link
required_level
integer
video_url
string<uri>

Response

Created post

data
object
required