Fetch Usage Series

Fetch usage series

get
/v1/usage/series/fetch

Description

Fetches a series of usage data points for the user for the last 90 days.

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

curl -X GET "https://api.chatbotkit.com/v1/usage/series/fetch" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"tokens":[
{
"date":"number",
"total":"number"
}
],
"conversations":[
{
"date":"number",
"total":"number"
}
],
"messages":[
{
"date":"number",
"total":"number"
}
]
}
The usage series information was retrieved successfully