Post a link ad with credits
post_linkPosts an existing link ad into rotation using credits, mirroring the web free-post flow. Handles approval status and derives view time/credits automatically.
Instructions
Posts an existing link ad into rotation using credits, mirroring the web free-post flow. Sponsored (paid via PayPal/Stripe) posts are not exposed here and stay on the website, so ad_days must be 0. view_time and view_credits are derived server-side from icon/bold/double_time (the same schedule the web free-post form uses) and are not accepted as input, since view_credits is the credit reward funded by other members' views. If the posting user needs approval, the post is created pending and the response reports status "pending" with a message explaining it awaits approval before going live; otherwise it returns status "active". Returns the post id, the derived view_time/view_credits, and remaining credits. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | Bold the link text (adds credit cost). | |
| icon | No | Show an icon next to the link (adds credit cost). | |
| ad_days | Yes | Must be 0. Sponsored/paid link placements (ad_days > 0) require PayPal/Stripe checkout and are not available via the API. | |
| link_id | Yes | ID of the link to post (must belong to the caller). | |
| double_time | No | Double the ad's view time (view_time 6s -> 12s, +8 credits), matching the web free-post form's "double view time" option. |