Create a shared asset

Use this endpoint to create a shared asset.

Body Params
string
required

Human-readable name for the asset. Used to generate the shareable_name if not provided.

string
required

The actual content of the asset. For HTML assets, provide HTML markup. For Subject assets, provide plain text.

string
enum
required

Type of asset to create. Must be either 'html' or 'subject'. Cannot be changed after creation.

Allowed:
string

Plain text version of the content. Only applicable for HTML assets. If not provided, Blueshift will auto-generate it.

boolean

Set to true if providing a custom plain_text version, false to auto-generate. Only applicable for HTML assets.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json