GET
/
campaign
/
{id}
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
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the campaign

Response

200
application/json
A list of campaigns

The response is of type object.