curl --request GET \
--url https://auto.boost.api/v1/presets/detail/{id}import requests
url = "https://auto.boost.api/v1/presets/detail/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://auto.boost.api/v1/presets/detail/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://auto.boost.api/v1/presets/detail/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://auto.boost.api/v1/presets/detail/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://auto.boost.api/v1/presets/detail/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://auto.boost.api/v1/presets/detail/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"number_of_purchases": 1,
"id": 1,
"title": "Travel Pack",
"image": "<string>",
"campaign_objective": "<string>",
"vertical": [
"<string>"
],
"price": "19.99",
"original_price": "29.99",
"version": 1,
"private": true,
"platform": "all",
"audience_targeting": "<string>",
"location_json": "<string>",
"description": "<string>",
"hashtags": [
"<string>"
],
"reach": [
"<unknown>"
],
"allowed_options": [
"location"
],
"rating": 4,
"agency": {
"username": "Lounge Lizard Worldwide",
"description": "<string>",
"about": "<string>",
"image": "<string>",
"website": "<string>",
"locations": "<string>",
"services": [
[
"E-commerce",
"Branding"
]
],
"industries": [
[
"Retail",
"Healthcare"
]
],
"gps": "40.730610,-73.935242",
"employess": "11-50",
"coordinates": "48.148598,17.107748"
}
}Get Preset Details
Returns Presets::apiData() augmented with number_of_purchases. Numeric id only matches public presets (private must be 0); hash lookup skips the private restriction.
curl --request GET \
--url https://auto.boost.api/v1/presets/detail/{id}import requests
url = "https://auto.boost.api/v1/presets/detail/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://auto.boost.api/v1/presets/detail/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://auto.boost.api/v1/presets/detail/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://auto.boost.api/v1/presets/detail/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://auto.boost.api/v1/presets/detail/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://auto.boost.api/v1/presets/detail/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"number_of_purchases": 1,
"id": 1,
"title": "Travel Pack",
"image": "<string>",
"campaign_objective": "<string>",
"vertical": [
"<string>"
],
"price": "19.99",
"original_price": "29.99",
"version": 1,
"private": true,
"platform": "all",
"audience_targeting": "<string>",
"location_json": "<string>",
"description": "<string>",
"hashtags": [
"<string>"
],
"reach": [
"<unknown>"
],
"allowed_options": [
"location"
],
"rating": 4,
"agency": {
"username": "Lounge Lizard Worldwide",
"description": "<string>",
"about": "<string>",
"image": "<string>",
"website": "<string>",
"locations": "<string>",
"services": [
[
"E-commerce",
"Branding"
]
],
"industries": [
[
"Retail",
"Healthcare"
]
],
"gps": "40.730610,-73.935242",
"employess": "11-50",
"coordinates": "48.148598,17.107748"
}
}Path Parameters
Preset identifier: numeric id (public presets only) or preset hash
1
Response
Preset detail
Serialized via Presets::apiData() for API list/detail responses.
Count of BoostedPages rows using this preset
x >= 01
"Travel Pack"
Absolute URL of the preset image; null if none
Localized human-readable objective label from BoostedPages::objectivesList()
Display labels per stored vertical slug; entry may be null if the slug has no mapping
Chargeable monthly price including boosterberg_fixed_fee
"19.99"
Original price including boosterberg_fixed_fee
"29.99"
1
all, facebook, instagram "all"
JSON string of location/geographic targeting payload
Keywords from boosting conditions when advanced_settings is enabled; otherwise empty
[] when advanced_settings is off; integer percentage when set; null when advanced_settings is on but no matching condition row
Subset of preset_allowed_options.option values enabled for this preset (see PresetAllowedOptions constants / getAll())
location, age, gender, tags, advanced_settings, cta Average preset review rating rounded to nearest whole number; 0 when there are no reviews
4
Show child attributes
Show child attributes