Skip to main content
POST
/
api
/
campaigns
/
{slug}
/
comments
Post comment
curl --request POST \
  --url https://studio.x402layer.cc/api/campaigns/{slug}/comments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "display_name": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Supabase session JWT

Path Parameters

slug
string
required

Body

application/json
body
string
required

Comment text

Required string length: 1 - 2000
display_name
string

Public display name

Maximum string length: 50

Response

Comment posted