add_users_to_audience
Add hashed user data to a Meta custom audience for targeted advertising. Provide audience ID and JSON with SHA-256 hashed PII like email or phone numbers.
Instructions
Add users to a custom audience. Payload must be a JSON string containing hashed user data with a schema array defining the data types (e.g. EMAIL, PHONE, FN, LN).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience_id | Yes | Audience ID | |
| payload | Yes | JSON string: {schema: ['EMAIL','PHONE',...], data: [['hash1','hash2',...], ...]}. All PII must be SHA-256 hashed. |