Get display names for leads and deals
curl --request GET \
--url https://api.journeybee.io/v1/terminology/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/terminology/"
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/terminology/', 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/terminology/",
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/terminology/"
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/terminology/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/terminology/")
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[
{
"term": "lead",
"singular": "<string>",
"plural": "<string>",
"is_custom": true
}
]Terminology
Get display names for leads and deals
Returns every term the company can rename, with the names its app, portal, forms and emails show. A term the company has not renamed returns its default (Lead / Leads) with is_custom: false. Display only: API paths, fields, operationIds and webhooks keep lead and deal.
GET
/
terminology
/
Get display names for leads and deals
curl --request GET \
--url https://api.journeybee.io/v1/terminology/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/terminology/"
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/terminology/', 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/terminology/",
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/terminology/"
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/terminology/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/terminology/")
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[
{
"term": "lead",
"singular": "<string>",
"plural": "<string>",
"is_custom": true
}
]Authorizations
API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".
Response
200 - application/json
Default Response
The object being named. API paths, fields and operationIds keep this name.
Available options:
lead, deal Display name for one record, e.g. Project. Lead / Deal when not customised.
Required string length:
1 - 50Pattern:
^(?=.*[\p{L}\p{N}])[^{}<>#\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$Display name for several records, e.g. Projects. Leads / Deals when not customised.
Required string length:
1 - 50Pattern:
^(?=.*[\p{L}\p{N}])[^{}<>#\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$True when the company has set its own name for this term.