Skip to main content
GET
Get durable campaign message metrics
CLI:

Overview

Returns the cumulative number of durable sent-message rows for an Outbound owned by the authenticated caller. The server verifies ownership, then performs an exact count of campaign_prospect_messages rows for that Outbound whose sent_at value is set. The response contains one non-negative integer, campaign_total_sent. It includes sent messages and LinkedIn connection notes represented by durable outbox rows. Bare LinkedIn invitations without a note are excluded because they do not create a message row. This is a lightweight read when you need the sent-message total without loading the full Outbound detail. It does not modify the Outbound.

AI agent notes

  • Treat campaign_total_sent as a cumulative message count, not a recipient count: one recipient can have multiple sent message rows.
  • A successful response with campaign_total_sent: 0 is valid when no durable message or connection-note row has been sent.
  • Surface 401, 404, and 500 errors. Do not retry an unchanged 401 or 404; correct authentication or the Outbound ID first.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Campaign UUID

Response

Exact durable campaign sent-message count.

campaign_total_sent
integer
required

Cumulative direct messages or emails. LinkedIn connection-request notes are excluded.

Required range: 0 <= x <= 9007199254740991