GET
/
audience
/
{id}
Get audience by ID
curl --request GET \
  --url https://atoms-api.smallest.ai/api/v1/audience/{id} \
  --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"
  }
}

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 unique identifier of the audience

Example:

"60d0fe4f5311236168a109ca"

Response

200
application/json

Successfully retrieved audience

The response is of type object.