Skip to main content
POST
/
presets
/
count
Get total number of presets, filtered by parameters
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/presets/count \
  --header 'Content-Type: application/json' \
  --data '
{
  "goal": "TRAFFIC",
  "vertical": "Finance",
  "agency_id": "2345",
  "partner_id": "2345",
  "preset_name": "Travel",
  "excluded_preset_id": "12",
  "location": {}
}
'
123

Body

application/json
goal
string
Example:

"TRAFFIC"

vertical
string
Example:

"Finance"

agency_id
integer
Example:

"2345"

partner_id
integer

When set, only presets with master_agency_id equal to this value are counted

Example:

"2345"

preset_name
string
Example:

"Travel"

excluded_preset_id
integer
Example:

"12"

location
object

Filter by location (object with type, value, label)

Response

200 - application/json

Returns number of Presets

The response is of type integer.