Skip to main content
GET
/
api
/
v1
/
analytics
/
appointments
Appointment lifecycle metrics (event-in-period semantics)
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/analytics/appointments \
  --header 'Authorization: Bearer <token>'
{
  "meta": {},
  "events_in_period": {},
  "by_status": {},
  "by_creator": {},
  "by_source_channel": {},
  "rates": {},
  "lead_time_hours": {},
  "previous": {}
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

from
string<date-time>
required
to
string<date-time>
required
compare_prev
boolean
default:false
granularity
enum<string>
default:total
Available options:
total
channel
string
Example:

"call,whatsapp"

agent_uuid
string<uuid>
campaign_uuid
string<uuid>

Response

OK

meta
object
events_in_period
object
by_status
object
by_creator
object

ai vs human counts

by_source_channel
object

Map of channel token to count; 'other' present only when no channel filter

rates
object
lead_time_hours
object
previous
object