cURL
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" } }
Creates a new thread.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The IDs of members to add to the thread.
Show child attributes