curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/audience \
--header 'Authorization: Bearer <token>'{
"status": true,
"data": [
{
"_id": "60d0fe4f5311236168a109ca",
"name": "My Customer List",
"description": "List of customers for marketing campaign",
"phoneNumberColumnName": "phoneNumber",
"organization": "60d0fe4f5311236168a109cb",
"createdBy": "60d0fe4f5311236168a109cc",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}
]
}Retrieve all audiences created by the authenticated user. Users can only access audiences they have created.
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/audience \
--header 'Authorization: Bearer <token>'{
"status": true,
"data": [
{
"_id": "60d0fe4f5311236168a109ca",
"name": "My Customer List",
"description": "List of customers for marketing campaign",
"phoneNumberColumnName": "phoneNumber",
"organization": "60d0fe4f5311236168a109cb",
"createdBy": "60d0fe4f5311236168a109cc",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully retrieved audiences
true
Show child attributes
The unique identifier for the audience
"60d0fe4f5311236168a109ca"
The name of the audience
"My Customer List"
The description of the audience
"List of customers for marketing campaign"
The name of the column in the CSV that contains phone numbers
"phoneNumber"
The organization ID
"60d0fe4f5311236168a109cb"
The user ID who created the audience
"60d0fe4f5311236168a109cc"
The date and time when the audience was created
"2025-01-15T10:30:00.000Z"
The date and time when the audience was last updated
"2025-01-15T10:30:00.000Z"