Get auto-bidding status
curl --request GET \
--url https://api.vollna.com/v1/auto-bidding/status \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/auto-bidding/status"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/auto-bidding/status', 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://api.vollna.com/v1/auto-bidding/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-TOKEN: <api-key>"
],
]);
$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://api.vollna.com/v1/auto-bidding/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vollna.com/v1/auto-bidding/status")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/auto-bidding/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"eligible": true,
"canManage": true,
"approval": {
"status": "<string>",
"rejectionReason": "<string>"
},
"trial": {
"status": "<string>",
"proposalsUsed": 123,
"proposalLimit": 123,
"expiresAt": "2023-11-07T05:31:56Z"
},
"plan": {
"proposalsUsed": 123,
"proposalsLimit": 123,
"planLimit": 123,
"carriedIn": 123,
"remaining": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"overLimitEnabled": true,
"overLimitPricePerProposal": 123
},
"agencyConnects": {
"agency": "<string>",
"balance": 123,
"balanceSyncedAt": "2023-11-07T05:31:56Z",
"balanceIsFresh": true,
"onHold": true,
"autoTopUpEnabled": true
},
"activationChecklist": {}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}Auto Bidding
Get auto-bidding status
Returns whether the team can auto-bid: eligibility, approval and trial state, proposals used and left this plan period, and over-limit billing. Team owners and admins also get the agency’s Connects balance and the activation checklist
GET
/
auto-bidding
/
status
Get auto-bidding status
curl --request GET \
--url https://api.vollna.com/v1/auto-bidding/status \
--header 'X-API-TOKEN: <api-key>'import requests
url = "https://api.vollna.com/v1/auto-bidding/status"
headers = {"X-API-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-TOKEN': '<api-key>'}};
fetch('https://api.vollna.com/v1/auto-bidding/status', 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://api.vollna.com/v1/auto-bidding/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-TOKEN: <api-key>"
],
]);
$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://api.vollna.com/v1/auto-bidding/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-TOKEN", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vollna.com/v1/auto-bidding/status")
.header("X-API-TOKEN", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vollna.com/v1/auto-bidding/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-TOKEN"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"eligible": true,
"canManage": true,
"approval": {
"status": "<string>",
"rejectionReason": "<string>"
},
"trial": {
"status": "<string>",
"proposalsUsed": 123,
"proposalLimit": 123,
"expiresAt": "2023-11-07T05:31:56Z"
},
"plan": {
"proposalsUsed": 123,
"proposalsLimit": 123,
"planLimit": 123,
"carriedIn": 123,
"remaining": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"overLimitEnabled": true,
"overLimitPricePerProposal": 123
},
"agencyConnects": {
"agency": "<string>",
"balance": 123,
"balanceSyncedAt": "2023-11-07T05:31:56Z",
"balanceIsFresh": true,
"onHold": true,
"autoTopUpEnabled": true
},
"activationChecklist": {}
}
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Validation failed",
"message": "<string>",
"fields": {}
}{
"error": "<string>"
}Was this page helpful?