v1
latestOpenAPI 3.1.02026-07-2687120159.0 KBGet distribution of the maximum number of concurrent conversations
Returns the maximum number of concurrent conversations in several 5-minute intervals based on the given parameters.
Path parameters
Account ID.
Project ID.
Query parameters
Start of the time range in ISO8601 format. Rounded down to the nearest 5-minute datetime. start_time and end_time must be no more than 1 week apart.
End of the time range in ISO8601 format. Rounded up to the nearest 5-minute datetime. start_time and end_time must be no more than 1 week apart.
If set, only include conversations in this environment. Can be sandbox, pre-release or live.
If set, only include conversations under this variant name. You may specify either variant_id or variant_name, not both. Encode spaces as "%20".
If set, only include conversations under this variant ID. You may specify either variant_id or variant_name, not both.
If set, only include conversations in this language.
If set, only include conversations for this phone number.
If set, slice the result intervals based on this parameter. You can slice by variant, language or phone_number. Currently language and phone_number slicing are not implemented (501).
Response
OK.
Example response
{
"account_id": "ACCOUNT-t53y16r3",
"project_id": "PROJECT-f76d75c2",
"intervals": [
{
"time": "2022-04-01T16:35:00.000Z",
"max_concurrent_conversations": 25,
"variant_id": "satdt",
"variant_name": "variant_1",
"language": "en-GB",
"phone_number": "+447856838428"
}
]
}