Skip to main content
GET
/
analytics
/
channels
Get channel breakdown analytics
curl --request GET \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/analytics/channels \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>'

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Your CometChat REST API Key.

Headers

appid
string
required

Tenant application ID

Query Parameters

dimension
enum<string>

Rollup dimension to query

Available options:
campaign,
template,
channel
dimensionId
string

Dimension ID (campaign ID, template ID, or channel type)

period
enum<string>

Rollup period

Available options:
hourly,
daily
startDate
string

Start date filter (ISO 8601)

endDate
string

End date filter (ISO 8601)

limit
number
default:50

Maximum number of results

Response

200

Channel breakdown