# Audience selection

> Current Froomle documentation · [View canonical page](https://docs.froomle.com/froomle-doc-main/v2/guide/topics/audience-recommendations.html)

Audience selection finds eligible users for a fixed item and records the resulting contacts for pressure control. It is separate from recommendations, which return items for a fixed user.

The current API manages subscription pools and processes audience selections asynchronously:

-   Create or replace a pool at `POST /api/{environment}/audience/pools/{pool_id}`.
    
-   Add, retrieve, or remove typed `user_id` and `device_id` memberships at the corresponding `/users/{user_id}` route.
    
-   Submit an audience job at `POST /api/{environment}/audience/requests`.
    
-   Poll `GET /api/{environment}/audience/requests/{request_id}` and retrieve the completed result from `GET /api/{environment}/audience/requests/{request_id}/result`.
    

Submission returns `202 Accepted` with an opaque UUID request ID, a status URL, and retry guidance. Poll until the status is `succeeded` or `failed`, then read the result. Requesting the completed result increments the push pressure counter for the returned audience. Results can be paginated with `page_token`.

Selection requests provide an `item_id`, planned contact time `when`, pool, size, `size_type: hard_limit`, list name, and rolling `rate_limits`, for example `{"1d": 1, "7d": 3}`. There is no delivery scheduling.

Identifiers preserve their JSON type: integer `1` and string `"1"` are different values. Use `value_type` on membership routes when a digit-only string must be distinguished from an integer.

When configured, interaction filtering removes users who already consumed the relevant item before the size cap is applied. Required history failures reject the complete request.

Getting started:

-   Audience Targeting API must be activated by Froomle.
    
-   Use the API reference for the complete request, status, and result contracts.
