curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/campaign/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_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 a campaign
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/campaign/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_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
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the campaign
A list of campaigns
The response is of type object
.