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

KeyDatatypeRequiredDescription
x-lang-outputstring* 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

{&quot;id&quot;:&quot;crv_2a3b096c409b32c&quot;,&quot;account_id&quot;:&quot;fa9ea650fc7b31a89f92&quot;,&quot;description&quot;:&quot;Our 4x6 postcard creative&quot;,&quot;from&quot;:&quot;adr_210a8d4b0b76d77b&quot;,&quot;resource_type&quot;:&quot;postcard&quot;,&quot;details&quot;:{},&quot;metadata&quot;:{},&quot;template_preview_urls&quot;:{},&quot;template_previews&quot;:[],&quot;campaigns&quot;:[],&quot;date_created&quot;:&quot;2017-09-05T17:47:53.767Z&quot;,&quot;date_modified&quot;:&quot;2017-09-05T17:47:53.767Z&quot;,&quot;object&quot;:&quot;creative&quot;}