cURL
curl --request GET \ --url https://atoms-api.smallest.ai/api/v1/campaign \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "page": 1, "limit": 10 }'
{ "status": true, "data": { "campaigns": [ { "_id": "<string>", "name": "<string>", "description": "<string>", "organization": "<string>", "agentId": "<string>", "createdBy": "<string>", "audienceId": "<string>", "participantsCount": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "isCampaignInProgress": true, "isCampaignCompleted": true } ] } }
Get all campaigns
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The page number
The number of items per page
A list of campaigns
true
Show child attributes