Create
POST {{baseUrl}}/creatives
Creates a new creative with the provided properties
Request Body
[{"name"=>"campaign_id", "value"=>"cmp_XXXXXX", "datatype"=>"string"}, {"name"=>"resource_type", "value"=>"postcard", "datatype"=>"string"}, {"name"=>"details", "value"=>"<object>", "datatype"=>"string"}, {"name"=>"description", "value"=>"a new creative", "datatype"=>"string"}, {"name"=>"from", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"metadata", "value"=>"{\"geo\": \"north\"}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-lang-output | string | * native - Translate response to the native language of the country in the request |
match
- match the response to the language in the request
Default response is in English.
|
| Content-Type
| string | | |
| Accept
| string | | |
RESPONSES
status: OK
{"id":"crv_2a3b096c409b32c","account_id":"fa9ea650fc7b31a89f92","description":"Our 4x6 postcard creative","from":"adr_210a8d4b0b76d77b","resource_type":"postcard","details":{},"metadata":{},"template_preview_urls":{},"template_previews":[],"campaigns":[],"date_created":"2017-09-05T17:47:53.767Z","date_modified":"2017-09-05T17:47:53.767Z","object":"creative"}