curl --request POST \
--url https://api.mn.co/admin/v1/networks/{network_id}/assets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'asset_style=<string>' \
--form asset_file='@example-file' \
--form 'source_url=<string>' \
--form input_type=123 \
--form 'original_aspect_ratio=<string>' \
--form 'metadata={}'{
"id": "1234",
"type": "<string>",
"url": "<string>",
"name": "<string>"
}curl --request POST \
--url https://api.mn.co/admin/v1/networks/{network_id}/assets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'asset_style=<string>' \
--form asset_file='@example-file' \
--form 'source_url=<string>' \
--form input_type=123 \
--form 'original_aspect_ratio=<string>' \
--form 'metadata={}'{
"id": "1234",
"type": "<string>",
"url": "<string>",
"name": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Network's unique integer ID, or subdomain Unique numeric network ID
Submit as multipart/form-data
Style of asset (post, landing_page_description, thumbnail, etc.)
The file to upload
URL to download asset from (alternative to asset_file)
Input type (upload=0 or url=1)
Original aspect ratio of the asset
Additional metadata for the asset (e.g., is_main_image, is_video_image)