Skip to navigation

Create Segment Conversation

Create a new segment and its broadcast conversation. Admins only.

Authentication: Required — Bearer token; the user must have admin status.

Request body:

  • name (required) — Segment name
  • description (optional) — Segment description

Response: data — The new segment conversation list item.

Side effects: Creates a Segment and a segment Conversation, adding the creator as a participant.

Errors:

  • 403 — Only admins can create segments

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
namestringOptional
descriptionstringOptional

Response

OK