Creating a preset

Presets can be created via:

  • POST HTTP request to /templates/{TEMPLATE_ID}/presets

Preset properties

The table below shows the property that can be passed in the request body.

nameString- required - Min 1 chars - Max 64 charsA human-friendly name to identify the preset

An example of request is

$ curl '{TEMPLATE_ID}/presets' \
-H 'apikey: YOUR_API_KEY' \
-H 'workspace: YOUR_WORKSPACE_ID' \
-H 'Content-Type: application/json' \
-d \
	"name": "Facebook Campaign"

A 200 response for this request is

	"id": "abcde945fdf147cb...",
  "name": "Facebook Campaign"