@webitel/api-services
    Preparing search index...
    type ThreadManagementSearchParams = {
        fields?: string[];
        ids?: string[];
        page?: number;
        q?: string;
        size?: number;
        sort?: string;
        types?: ThreadManagementSearchTypesItem[];
    }
    Index

    Properties

    fields?: string[]

    List of fields that should be returned in the response. If empty, a default set of fields is returned. Used for response optimization.

    ids?: string[]

    Filter by specific thread IDs.

    page?: number

    Page number (1-based).

    q?: string

    Full-text search query. Typically applied to subject.

    size?: number

    Maximum number of threads to return per page. Must be greater than 0 and less than or equal to 100.

    sort?: string

    Sorting field. Optional "+" or "-" prefix indicates ascending or descending order. Example: "-created_at", "subject"

    Filter threads by their kinds. UNKNOWN (0) is not allowed.

    • UNKNOWN: Unknown or unspecified thread type. Must not be used in valid requests.
    • DIRECT: One-to-one private thread between two users.
    • GROUP: Group thread with multiple members.
    • CHANNEL: Channel-style thread (broadcast or topic based communication).