Tool to create an attachment. Use when you need to programmatically create a social unlock or contest attachment after gathering all required parameters.
typeRequiredstringAttachment type: 'unlock' for social unlock or 'contest' for a contest attachment.
platformstringSocial action for single-action attachments. Required when type='unlock' and only one social action.
platformsarrayList of social actions for multi-action attachments. Required when type='contest' or multiple unlock actions.
unlock_textstringCoupon code text to display. Required when unlock_type='coupon'.
unlock_typestringReward type for social unlocks. Required when type='unlock'.
download_urlstringURL of the file to download or link target. Required when unlock_type='download' or 'link'.
messenger_page_idstringFacebook Page ID to subscribe on Messenger. Required when platform='facebook-messenger'.
stream_unlock_urlstringURL of the unlisted video to stream. Required when unlock_type='stream'.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.