Metrics

Repediu metrics via API

Your customer connects their Repediu account and your product queries 13 metrics through the same endpoint as every other platform. Each metric has an id (reference_key) that goes in the request.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "comparison_start": "2026-09-01",
  "comparison_end": "2026-09-30",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "repediu:total-send-message",
      "component": "number_v1",
      "metrics": [
        "total-send-message"
      ],
      "dimensions": [
        "account"
      ]
    }
  ]
}
Example: "Total Sent Messages" in October, compared to September.

More Repediu request examples

The same endpoint for every kind of metric. The metrics and dimensions of each item come from the platform catalog (GET /api/metrics/{integration_slug}).

Chart

Messages Sent per Campaign

Detailed metrics of messages sent per campaign.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "repediu:send-message-per-campaign",
      "component": "chart_v1",
      "metrics": [
        "send-message-per-campaign"
      ],
      "dimensions": [
        "account"
      ]
    }
  ]
}

Number

Total Revenue Generated

Total revenue generated during the analysis period.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "repediu:total-revenue-generated",
      "component": "number_v1",
      "metrics": [
        "total-revenue-generated"
      ],
      "dimensions": [
        "account"
      ]
    }
  ]
}

Numbers

6 metrics

  • Total Sent Messages

    Total number of messages sent during the analysis period.

    repediu:total-send-message
  • Total Revenue Generated

    Total revenue generated during the analysis period.

    repediu:total-revenue-generated
  • Recovered Revenue

    Revenue recovered from customers during the analysis period.

    repediu:recovered-revenue
  • Recurring Revenue

    Recurring revenue generated during the analysis period.

    repediu:revenue-recurring
  • Recovered Customers

    Number of customers recovered during the analysis period.

    repediu:recovered-customer
  • Average Ticket

    Average transaction value during the analysis period.

    repediu:average-ticket

Charts

7 metrics

  • Messages Sent per Campaign

    Detailed metrics of messages sent per campaign.

    repediu:send-message-per-campaign
  • Total Conversions per Campaign

    Total number of conversions achieved per campaign.

    repediu:total-conversion-per-campaign
  • Revenue Generated per Campaign

    Revenue generated by each campaign.

    repediu:revenue-generated-per-campaign
  • Sales Revenue Development

    Analysis of the evolution of sales revenue over time.

    repediu:sale-revenue-development
  • Order Evolution

    Analysis of the evolution of the number of orders over time.

    repediu:evolution-order
  • Campaign Conversion Rate

    Conversion rate achieved by each campaign.

    repediu:campaign-conversion-rate
  • Coupon

    Details about the use of coupons during the analysis period.

    repediu:coupon

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.