Chat / Platform API
Current version: v3
    Chat Platform API v3
    Chat Platform API
    Chat
    Platform API
    Home
    /
    Chat
    /
    Platform API

    List announcement groups

    Retrieves a list of announcement groups.


    HTTP request

    GET https://api-{application_id}.sendbird.com/v3/announcement_group
    

    Parameters

    The following table lists the parameters that this action supports.

    Optional
    Parameter nameTypeDescription

    token

    string

    Specifies a token that indicates the starting index of results to retrieve. If not specified, the index is set as 0.

    limit

    int

    Specifies the number of results to retrieve per page. Acceptable values range from 1 to 100, inclusive. (Default: 10)

    ?limit=20&token=Z3UYLAYLAAoaTxgADAwNQD8~
    

    Response

    If successful, this action returns a list of announcement groups in the response body.

    {
        "announcement_group": ["insurance", "finance", ... ],
        "next": "Z3jk34n2uj=e23E2z"
    }
    

    List of response properties

    Property nameTypeDescription

    next

    string

    The value that can be used in the token parameter to retrieve the next page in the result set.

    In the case of an error, an error object is returned. A detailed list of error codes is available here.