Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.3 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "channel_type": {
            "default": "public",
            "description": "Use 'public' for access by all project members. Use 'private' for access by channel members only. Defaults to 'public'. This endpoint cannot create personal #me spaces.\n\n* `public` - public\n* `private` - private",
            "enum": ["public", "private"],
            "type": "string"
        },
        "member_ids": {
            "description": "User IDs to add to a private channel. The requester is always a member. The endpoint ignores this field for public channels and skips users without project access.",
            "items": {
                "type": "number"
            },
            "maxItems": 100,
            "type": "array"
        },
        "name": {
            "description": "Channel name, shown as #<name>. Uses lowercase letters and hyphens.",
            "maxLength": 128,
            "type": "string"
        },
        "star": {
            "default": true,
            "description": "Star a new channel for the requester. This field does not change stars on an existing channel.",
            "type": "boolean"
        }
    },
    "required": ["name"],
    "type": "object"
}