curl --request GET \
--url https://api.journeybee.io/v1/analytics/partners/submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/analytics/partners/submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.journeybee.io/v1/analytics/partners/submissions', 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.journeybee.io/v1/analytics/partners/submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.journeybee.io/v1/analytics/partners/submissions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.journeybee.io/v1/analytics/partners/submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/analytics/partners/submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"logo_uuid": "<string>",
"partner_type": "referral",
"stage": "<string>",
"leads_in_range": 0,
"deals_in_range": 0,
"submitted": true
}
],
"pagination": {
"page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
},
"period": {
"start_date": "<string>",
"end_date": "<string>"
}
}Partner lead/deal submissions
Every in-scope partner with its lead and deal counts for the period — ‘which partners have submitted a lead or deal’. A lead counts by leads.created_at in the range; a deal by lead_deals.created_at (the deal’s creation date — not the won date, not all-time). submitted filters to partners with at least one lead or deal in the period (true) or none (false). lead_direction narrows referral partners only; reseller and distributor leads always count. For the X-of-Y totals (partners_in_scope / partners_with_leads / partners_with_deals) see getRevenueSummary, computed under the same filters. Defaults to the current year.
curl --request GET \
--url https://api.journeybee.io/v1/analytics/partners/submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/analytics/partners/submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.journeybee.io/v1/analytics/partners/submissions', 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.journeybee.io/v1/analytics/partners/submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.journeybee.io/v1/analytics/partners/submissions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.journeybee.io/v1/analytics/partners/submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/analytics/partners/submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"uuid": "<string>",
"name": "<string>",
"logo_uuid": "<string>",
"partner_type": "referral",
"stage": "<string>",
"leads_in_range": 0,
"deals_in_range": 0,
"submitted": true
}
],
"pagination": {
"page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
},
"period": {
"start_date": "<string>",
"end_date": "<string>"
}
}Authorizations
Query Parameters
Reporting period (resolved to a date range server-side). Defaults to current_year. Ignored when start_date + end_date are both supplied.
current_year, last_year, current_quarter, last_quarter, current_month, last_month, last_30_days, last_90_days, last_6_months, last_12_months