Get Preset Detail
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"
}
}Presets
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.
GET
/
presets
/
detail
/
{id}
Get Preset Detail
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
Response
Preset detail
Serialized via Presets::apiData() for API list/detail responses.