Get Properties for Timeline Event Type
curl --request GET \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/propertiesimport requests
url = "https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties', 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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties"
req, _ := http.NewRequest("GET", url, nil)
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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"options": null,
"propertyType": "Numeric",
"name": "NumericProperty",
"id": 1,
"label": "Numeric Property",
"eventTypeId": 260
},
{
"options": null,
"propertyType": "String",
"name": "StringProperty",
"id": 2,
"label": "String Property",
"eventTypeId": 260
},
{
"options": [],
"propertyType": "Enumeration",
"name": "NoOptionsProperty",
"id": 3,
"label": "No Options Property",
"eventTypeId": 260
},
{
"options": [
{
"propertyId": 4,
"label": "Some Label",
"value": "OptionValue"
}
],
"propertyType": "Enumeration",
"name": "EnumerationProperty",
"id": 4,
"label": "Enumeration Property",
"eventTypeId": 260
}
]v1
Get Properties for Timeline Event Type
Retrieve existing properties defined for a timeline event type. You can include these properties when sending event data to that event type, then use them in the event template for timeline display as well as list segmentation.
GET
/
integrations
/
v1
/
{application-id}
/
timeline
/
event-types
/
{event-type-id}
/
properties
Get Properties for Timeline Event Type
curl --request GET \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/propertiesimport requests
url = "https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties', 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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties"
req, _ := http.NewRequest("GET", url, nil)
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.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"options": null,
"propertyType": "Numeric",
"name": "NumericProperty",
"id": 1,
"label": "Numeric Property",
"eventTypeId": 260
},
{
"options": null,
"propertyType": "String",
"name": "StringProperty",
"id": 2,
"label": "String Property",
"eventTypeId": 260
},
{
"options": [],
"propertyType": "Enumeration",
"name": "NoOptionsProperty",
"id": 3,
"label": "No Options Property",
"eventTypeId": 260
},
{
"options": [
{
"propertyId": 4,
"label": "Some Label",
"value": "OptionValue"
}
],
"propertyType": "Enumeration",
"name": "EnumerationProperty",
"id": 4,
"label": "Enumeration Property",
"eventTypeId": 260
}
]Scope requirements
Scope requirements
Antwort
200 - application/json
Successful response - Create a new property for a specified timeline event type
The response is of type object.
Zuletzt geändert am 1. April 2026
⌘I