curl --request POST \
  --url https://api.campsite.com/v2/threads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "member_ids": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "group": true,
  "last_message_at": "<string>",
  "members_count": 123,
  "avatar_urls": {
    "xs": "<string>",
    "sm": "<string>",
    "base": "<string>",
    "lg": "<string>",
    "xl": "<string>",
    "xxl": "<string>"
  },
  "title": "<string>",
  "creator": {
    "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.

Body

application/json

Response

201 - application/json

The response is of type object.