Audience
Get audience by ID
Changed onRetrieve a specific audience by its ID. Note: if the audience belongs to a different organization, the API returns 404 (not 403) — ownership is deliberately obscured.
get/audience/{id}
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/audience/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:60d0fe4f5311236168a109ca
The unique identifier of the audience
Response
Successfully retrieved audience
Example response
{
"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"
}
}Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
removed the non-success response with the status
- breaking