Analytics
Funnel, team, message, reply-rate and link metrics.
GET
/v1/analytics/benchmarks/Get analytics benchmarksGET/v1/analytics/funnel/Get analytics funnelGET/v1/analytics/links/Get analytics linksGET/v1/analytics/messages/Get analytics messagesGET/v1/analytics/reply-rate/Get analytics reply rateGET/v1/analytics/response-times/Get analytics response timesGET/v1/analytics/team/Get analytics teamGet analytics benchmarks
GET
analytics:read/v1/analytics/benchmarks/Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.benchmarks | object[] | read-only |
metrics.benchmarks[].metric | string | read-only |
metrics.benchmarks[].p25 | number | read-only |
metrics.benchmarks[].p50 | number | read-only |
metrics.benchmarks[].p75 | number | read-only |
metrics.benchmarks[].p90 | number | read-only |
metrics.benchmarks[].period | string | read-only |
metrics.benchmarks[].sample_size | integer | read-only |
metrics.benchmarks[].value | number | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/benchmarks/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics funnel
GET
analytics:read/v1/analytics/funnel/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.cohort_conversion | object | read-only |
metrics.cohort_conversion.cohort | string | read-only |
metrics.cohort_conversion.cohort_size | integer | read-only |
metrics.cohort_conversion.note | string | read-only |
metrics.cohort_conversion.rates | object | read-only |
metrics.cohort_conversion.rates.booked_to_won | object | read-only |
metrics.cohort_conversion.rates.booked_to_won.denominator | integer | read-only |
metrics.cohort_conversion.rates.booked_to_won.numerator | integer | read-only |
metrics.cohort_conversion.rates.booked_to_won.value | number | read-only |
metrics.cohort_conversion.rates.new_to_booked | object | read-only |
metrics.cohort_conversion.rates.new_to_booked.denominator | integer | read-only |
metrics.cohort_conversion.rates.new_to_booked.numerator | integer | read-only |
metrics.cohort_conversion.rates.new_to_booked.value | number | read-only |
metrics.cohort_conversion.rates.new_to_qualified | object | read-only |
metrics.cohort_conversion.rates.new_to_qualified.denominator | integer | read-only |
metrics.cohort_conversion.rates.new_to_qualified.numerator | integer | read-only |
metrics.cohort_conversion.rates.new_to_qualified.value | number | read-only |
metrics.cohort_conversion.rates.new_to_won | object | read-only |
metrics.cohort_conversion.rates.new_to_won.denominator | integer | read-only |
metrics.cohort_conversion.rates.new_to_won.numerator | integer | read-only |
metrics.cohort_conversion.rates.new_to_won.value | number | read-only |
metrics.cohort_conversion.rates.qualified_to_booked | object | read-only |
metrics.cohort_conversion.rates.qualified_to_booked.denominator | integer | read-only |
metrics.cohort_conversion.rates.qualified_to_booked.numerator | integer | read-only |
metrics.cohort_conversion.rates.qualified_to_booked.value | number | read-only |
metrics.cohort_conversion.reached_booked | integer | read-only |
metrics.cohort_conversion.reached_qualified | integer | read-only |
metrics.cohort_conversion.reached_won | integer | read-only |
metrics.stage_counts | object | read-only |
metrics.stage_counts.BOOKED_CALL | integer | read-only |
metrics.stage_counts.DEPOSIT_LEAD | integer | read-only |
metrics.stage_counts.IN_CONTACT | integer | read-only |
metrics.stage_counts.NEW_LEAD | integer | read-only |
metrics.stage_counts.NO_SHOW | integer | read-only |
metrics.stage_counts.QUALIFIED | integer | read-only |
metrics.stage_counts.UNQUALIFIED | integer | read-only |
metrics.stage_counts.WON | integer | read-only |
metrics.stages | object[] | read-only |
metrics.stages[].current_lead_count | integer | read-only |
metrics.stages[].key | string | read-only |
metrics.stages[].lead_count | integer | read-only |
metrics.stages[].name | string | read-only |
metrics.stages[].retired | boolean | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/funnel/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics links
GET
analytics:read/v1/analytics/links/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.links | object[] | read-only |
metrics.links[].avg_latency_seconds | number | read-only |
metrics.links[].clicks | integer | read-only |
metrics.links[].conversions | object | read-only |
metrics.links[].conversions.bookings | integer | read-only |
metrics.links[].conversions.won | integer | read-only |
metrics.links[].link_id | string | read-only |
metrics.links[].name | string | read-only |
metrics.links[].reputation | string | read-only |
metrics.links[].sends | integer | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/links/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics messages
GET
analytics:read/v1/analytics/messages/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.inbound | integer | read-only |
metrics.outbound | integer | read-only |
metrics.sent_via_mochi | integer | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/messages/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics reply rate
GET
analytics:read/v1/analytics/reply-rate/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
definition | string | read-only |
members | object[] | read-only |
members[].member_id | string | read-only |
members[].name | string | read-only |
members[].replies_received | integer | read-only |
members[].reply_rate | number | read-only |
members[].total_messages | integer | read-only |
metrics | object | read-only |
metrics.messages_with_reply | integer | read-only |
metrics.reply_rate | number | read-only |
metrics.total_outbound_messages | integer | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/reply-rate/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics response times
GET
analytics:read/v1/analytics/response-times/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.median_seconds | number | read-only |
metrics.p25_seconds | number | read-only |
metrics.p75_seconds | number | read-only |
metrics.p90_seconds | number | read-only |
metrics.sample_size | integer | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/response-times/" \
-H "Authorization: Bearer $MOCHI_API_KEY"Get analytics team
GET
analytics:read/v1/analytics/team/Parameters
| Name | In | Type | Notes |
|---|---|---|---|
date_fromrequired | query | string (date) | — |
date_torequired | query | string (date) | — |
member_id | query | integer | min 1 |
Response fields (200)
| Field | Type | Notes |
|---|---|---|
computed_at | string (date-time) | read-only |
metrics | object | read-only |
metrics.members | object[] | read-only |
metrics.members[].bookings | integer | read-only |
metrics.members[].leads_assigned | integer | read-only |
metrics.members[].member_id | string | read-only |
metrics.members[].name | string | read-only |
metrics.members[].reply_rate | number | read-only |
metrics.members[].response_time_median | number | read-only |
metrics.members[].stage_transitions | object | read-only |
metrics.members[].stage_transitions.booked_call | integer | read-only |
metrics.members[].stage_transitions.in_contact | integer | read-only |
metrics.members[].stage_transitions.new_leads | integer | read-only |
metrics.members[].stage_transitions.qualified | integer | read-only |
metrics.members[].stage_transitions.won | integer | read-only |
period | object | read-only |
period.end | string (date) | read-only |
period.start | string (date) | read-only |
Responses
200Success400The request is invalid.401Authentication is missing, invalid, or revoked.403The authenticated identity lacks the required scope or capability.404The resource is unavailable or not visible to this organization.429The request-rate budget is exhausted.
Example request
curl
curl -X GET "https://api.themochi.app/v1/analytics/team/" \
-H "Authorization: Bearer $MOCHI_API_KEY"