curl --request POST \
  --url https://api.campsite.com/v2/members/{member_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content_markdown": "<string>",
  "parent_id": "<string>"
}'
{
  "id": "<string>",
  "content": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "parent_id": "<string>",
  "thread_id": "<string>",
  "author": {
    "avatar_urls": {
      "xs": "<string>",
      "sm": "<string>",
      "base": "<string>",
      "lg": "<string>",
      "xl": "<string>",
      "xxl": "<string>"
    },
    "name": "<string>",
    "id": "<string>",
    "type": "app"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

member_id
string
required

Body

application/json
content_markdown
string
required
parent_id
string

Response

201 - application/json
id
string
required
content
string
required
created_at
string
required
updated_at
string
required
parent_id
string | null
required
thread_id
string
required
author
object
required