Create campaign
/brand-api/render
Create and render a campaign.
You need to specify a layout and attach the custom CSV file you downloaded & modified from the download CSV template endpoint.
Request
Body Params multipart/form-data
layout_uuid
string
required
Please use the layout_uuid you got from the GET /resource/layouts endpoint.
csv_file
file
required
Please use the template you downloaded from the csv_template endpoint
campaign_name
string
optional
Would use layout name if not specify "campaign_name".
enable_auto_line_break
string
optional
Flag to toggle auto line break for text elements.
Allowed values:
falsetrue
Default:
false
Example:
false
output_type
string
optional
You can choose either jpeg or png as the output format.
Allowed values:
image/jpegimage/png
Default:
image/jpeg
Example:
image/jpeg
webhook_url
required
Please use https URL as a webhook url, is an HTTP-based event-driven callback function that allows lightweight.
Any of
Request samples
Responses
Error(200)
OK(200)
Bad Request(400)
HTTP Code: 200
Content Type : JSON
Data Schema
No schema defined
Example
Not configured
Modified at 14 hours ago