curl --request GET \
--url https://api.waycore.com/v1/entities/{entityId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/entities/{entityId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/entities/{entityId}', 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.waycore.com/v1/entities/{entityId}",
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.waycore.com/v1/entities/{entityId}"
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.waycore.com/v1/entities/{entityId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/entities/{entityId}")
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{
"entityId": "<string>",
"externalEntityId": "<string>",
"isDefaultOrgEntity": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"contactEmails": [
"jsmith@example.com"
],
"metadata": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Get Entity
GET /v1/entities/
Get a canonical entity for the authenticated organization.
curl --request GET \
--url https://api.waycore.com/v1/entities/{entityId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/entities/{entityId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/entities/{entityId}', 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.waycore.com/v1/entities/{entityId}",
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.waycore.com/v1/entities/{entityId}"
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.waycore.com/v1/entities/{entityId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/entities/{entityId}")
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{
"entityId": "<string>",
"externalEntityId": "<string>",
"isDefaultOrgEntity": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"contactEmails": [
"jsmith@example.com"
],
"metadata": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Authorizations
Opaque API key passed as Authorization: Bearer <key>. Keys are organization-bound, environment-bound (live or test), scope-carrying, and expiring. Create and manage keys via the console.
Path Parameters
Response
Successful Response
Stable, immutable identifier for the entity.
Stable external identifier for this entity. Integrator-defined for customer entities and system-defined for the organization-attached entity.
Whether this special entity is the organization-attached entity managed by Waycore. Use it when the integrator and the end business are the same organization.
When the entity was created in this API.
When the entity last changed in this API.
Display name for the entity, when available.
Email addresses of the people who manage this entity's connections. Used to reach the right person when a connection's configuration is invalid or needs attention. Always present; an empty array means no contacts have been provided.
Opaque client-defined metadata.