Discover the zero-auth sandbox
curl --request GET \
--url https://plainrouter.com/api/v1/sandboximport requests
url = "https://plainrouter.com/api/v1/sandbox"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://plainrouter.com/api/v1/sandbox', 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://plainrouter.com/api/v1/sandbox",
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://plainrouter.com/api/v1/sandbox"
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://plainrouter.com/api/v1/sandbox")
.asString();require 'uri'
require 'net/http'
url = URI("https://plainrouter.com/api/v1/sandbox")
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{
"environment": "<string>",
"authentication_required": true,
"account_required": true,
"production_data": true,
"persists_data": true,
"provider_delivery": true,
"description": "<string>",
"self_serve_key": {
"method": "<string>",
"url": "<string>",
"authentication_required": true,
"description": "<string>",
"issued_key": {
"api_key": "<string>",
"token_type": "<string>",
"expires_in": 123,
"expires_at": "<string>",
"scope": "<string>",
"production_access": true,
"use": {
"method": "<string>",
"url": "<string>",
"authorization": "<string>"
}
}
},
"try": {
"method": "<string>",
"url": "<string>",
"content_type": "<string>",
"body": {
"event_id": "<string>",
"event_name": "<string>",
"action_source": "<string>",
"value_data": {
"value": "<string>",
"currency": "<string>",
"order_id": "<string>"
}
}
}
}Discover the zero-auth sandbox
Returns a ready-to-run synthetic event example. The sandbox requires no account or API key and cannot read production data, persist events, or contact an advertising provider.
GET
/
sandbox
Discover the zero-auth sandbox
curl --request GET \
--url https://plainrouter.com/api/v1/sandboximport requests
url = "https://plainrouter.com/api/v1/sandbox"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://plainrouter.com/api/v1/sandbox', 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://plainrouter.com/api/v1/sandbox",
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://plainrouter.com/api/v1/sandbox"
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://plainrouter.com/api/v1/sandbox")
.asString();require 'uri'
require 'net/http'
url = URI("https://plainrouter.com/api/v1/sandbox")
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{
"environment": "<string>",
"authentication_required": true,
"account_required": true,
"production_data": true,
"persists_data": true,
"provider_delivery": true,
"description": "<string>",
"self_serve_key": {
"method": "<string>",
"url": "<string>",
"authentication_required": true,
"description": "<string>",
"issued_key": {
"api_key": "<string>",
"token_type": "<string>",
"expires_in": 123,
"expires_at": "<string>",
"scope": "<string>",
"production_access": true,
"use": {
"method": "<string>",
"url": "<string>",
"authorization": "<string>"
}
}
},
"try": {
"method": "<string>",
"url": "<string>",
"content_type": "<string>",
"body": {
"event_id": "<string>",
"event_name": "<string>",
"action_source": "<string>",
"value_data": {
"value": "<string>",
"currency": "<string>",
"order_id": "<string>"
}
}
}
}Response
200 - application/json
Sandbox capabilities and a ready-to-run example.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I