Create a shared assetAsk AIpost https://api.getblueshift.com/api/v1/shared_assets.jsonUse this endpoint to create a shared asset.Body Paramsdisplay_namestringrequiredHuman-readable name for the asset. Used to generate the shareable_name if not provided.contentstringrequiredThe actual content of the asset. For HTML assets, provide HTML markup. For Subject assets, provide plain text.asset_typestringenumrequiredType of asset to create. Must be either 'html' or 'subject'. Cannot be changed after creation.htmlsubjectAllowed:htmlsubjectplain_textstringPlain text version of the content. Only applicable for HTML assets. If not provided, Blueshift will auto-generate it.is_plain_text_custombooleanSet to true if providing a custom plain_text version, false to auto-generate. Only applicable for HTML assets.truetruefalseResponses 200OK 401Unauthorized - API authentication failed due to an invalid or missing API key. 422Unprocessable Entity - The request was well-formed but contains validation errors. Common causes: missing required fields (display_name, content, asset_type), duplicate shareable_name, or empty values. 500Internal Server Error - An unexpected server error occurred. Contact support if the issue persists.Updated 3 months ago