Add Posts to Collection
add_to_collectionPin one or more posts (by post_id) into a collection you own — works on any collection type. On a 'manual' collection this is the only membership mechanism; on a 'smart' collection it adds the posts as extras alongside whatever the rule already matches (resolve_collection returns the union). Existing members are silently ignored. Free — costs 0 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_ids | Yes | post_ids to add (1-1000 per call) | |
| collection_id | Yes | Target collection id from list_collections |