Get the caller's navigation
curl --request GET \
--url https://api.journeybee.io/v1/navigation/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/navigation/"
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/navigation/', 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/navigation/",
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/navigation/"
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/navigation/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/navigation/")
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{
"configured": true,
"items": [
{
"target": {
"kind": "module",
"module": "home"
},
"href": "<string>",
"label": "<string>",
"labelIsMessageId": true,
"id": "home",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pinned": true,
"viewVisibility": "personal",
"pinOrder": 4503599627370495
}
]
}Navigation
Get the caller's navigation
Returns the navigation the caller sees in the app: the company defaults with the caller’s own overrides applied, hidden items removed, in order. Needs a credential bound to a person (an OAuth token, which includes the hosted MCP’s user token, or a Buzz agent’s per-turn token); an API key is refused with 403 because personal overrides belong to one user. Read getNavigationPreferences with scope=company for the company defaults. A company that has not moved to the new app shell returns its configured navigation as the flat module list, without the shell groups, Contacts or object destinations.
GET
/
navigation
/
Get the caller's navigation
curl --request GET \
--url https://api.journeybee.io/v1/navigation/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/navigation/"
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/navigation/', 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/navigation/",
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/navigation/"
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/navigation/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/navigation/")
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{
"configured": true,
"items": [
{
"target": {
"kind": "module",
"module": "home"
},
"href": "<string>",
"label": "<string>",
"labelIsMessageId": true,
"id": "home",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pinned": true,
"viewVisibility": "personal",
"pinOrder": 4503599627370495
}
]
}