add_users_to_audience
Add hashed user data to a Meta custom audience. Provide audience ID and JSON payload with schema array and data rows of SHA-256 hashed values.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audience_id": "<audience_id>",
"payload": "<payload>"
},
"name": "add_users_to_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | JSON string: {schema: ['EMAIL','PHONE',...], data: [['hash1','hash2',...], ...]}. All PII must be SHA-256 hashed. | |
| audience_id | Yes | Audience ID |