Campaigns

Get upcoming scheduled campaigns

GET
/api/campaigns/upcoming

Returns campaigns with status scheduled whose scheduleDate is within the next days (default 7) for the authenticated user organization.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

days?integer
Default7

Response Body

application/json

application/json

curl -X GET "https://example.com/api/campaigns/upcoming"
{  "success": true,  "data": [    {      "_id": "665f1a0c0e0a4b001a2c9f10",      "name": "Q2 Lead Gen",      "status": "scheduled",      "scheduleDate": "2026-05-20T15:00:00.000Z"    }  ]}