Skip to content

Get user activity by day of week and time of day

Request

Security
basicAuth
Path
bot_idstringrequired

Identifies the bot.

Query
versionstringrequired

Identifies the bot version.

start_timestringrequired

The starting date for the time range of the data series.

end_timestringrequired

The ending date for the time range of the data series, exclusive.

channel_typestring

Filter by specific channels, multiple values separated by comma.

languagestring

Filter by specific languages, multiple values separated by comma.

curl -i -X GET \
  -u '<username>:<password>' \
  'https://analytics.api.chatlayer.ai/v1/bots/{bot_id}/users/activity?version=string&start_time=string&end_time=string&channel_type=string&language=string'

Responses

A successful response.

Bodyapplication/json
dataobject(SeriesData)
Response
{ "data": { "series": [ … ], "series_labels": [ … ], "x_values": [ … ] } }
We'd love to hear from you!
Rate this content: