Campaigns
Get campaign by ID
Returns the full campaign document by id, including segmentation and assignment config, recipient counters, and aggregated stats. stats comes from the recipient counters, and failedDetails lists the first 100 failed recipients (failedCount has the full number).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/campaigns/string"{ "success": true, "data": { "_id": "665f1a0c0e0a4b001a2c9f10", "name": "Q2 Lead Gen", "status": "sent", "stats": { "total": 250, "sent": 248, "failed": 2, "successRate": "99.2%" } }}