Inbox
Team inbox

Get inbox statistics

Retrieves statistics about inbox tickets and reports for a workspace, including counts by status and type.

Scopes required:

  • inbox:read
get/v1/inbox_tickets/statistics

Request

  • Base URL: https://public-api.tryriot.com
  • URL: https://public-api.tryriot.com/v1/inbox_tickets/statistics
  • Auth: API key in header x-api-key

Query parameters

workspace_idstring uuid required

ID of the workspace

created_afterstring date-time required

Filter records created after this date (included)

created_beforestring date-time required

Filter records created before this date (included)

Response

Inbox statistics

Example response

{
  "data": {
    "reports": {
      "employee_reporting_rate": 17
    },
    "tickets": {
      "fraudulent_distribution": {
        "employee_impersonation_rate": 25,
        "other_rate": 5,
        "partner_payment_fraud_rate": 15,
        "scam_extortion_rate": 10,
        "service_imitation_rate": 45
      },
      "fraudulent_rate": 10,
      "safe_rate": 75,
      "spam_rate": 10
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.