Get One Account Collection
GET /v1/account/collection/:id
Retrieves a specific account collection by its unique ID and returns the full collection details along with populated account information. This endpoint provides an expanded view of the collection, including metadata such as name, type, description, and a detailed list of the associated accounts. It is useful for viewing or managing a single collection and understanding its structure and related accounts in detail.
Response Example
{
"name": "Example Account Collection",
"tenant": "tenant-id-1",
"type": "customer-segment",
"description": "Collection of premium customer accounts for targeted offers",
"accountIds": [
"account-id-1",
"account-id-2"
],
"accounts": [
{
"id": "account-id-1",
"name": "Example Account A",
"email": "contactA@example.com",
"status": "active"
},
{
"id": "account-id-2",
"name": "Example Account B",
"email": "contactB@example.com",
"status": "inactive"
}
],
"created": "2025-10-29T12:11:13.361Z",
"updated": "2025-10-29T12:11:13.361Z",
"id": "collection-id-1"
}