Update Property for Timeline Event Type
curl --request PUT \
--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.put(url)
print(response.text)const options = {method: 'PUT'};
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 => "PUT",
]);
$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("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("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::Put.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 3,
"name": "size",
"propertyType": "Enumeration",
"label": "Size"
},
{
"id": 3,
"name": "size",
"propertyType": "Enumeration",
"label": "Size",
"options": [
{
"value": "xlarge",
"label": "Extra Large"
},
{
"value": "large",
"label": "Large"
},
{
"value": "medium",
"label": "Medium"
},
{
"value": "small",
"label": "Small"
}
]
}
]v1
Update Property for Timeline Event Type
Update an existing event type. Note: Changes to an event type may take up to an hour to update across new/existing events.
PUT
/
integrations
/
v1
/
{application-id}
/
timeline
/
event-types
/
{event-type-id}
/
properties
Update Property for Timeline Event Type
curl --request PUT \
--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.put(url)
print(response.text)const options = {method: 'PUT'};
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 => "PUT",
]);
$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("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("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::Put.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 3,
"name": "size",
"propertyType": "Enumeration",
"label": "Size"
},
{
"id": 3,
"name": "size",
"propertyType": "Enumeration",
"label": "Size",
"options": [
{
"value": "xlarge",
"label": "Extra Large"
},
{
"value": "large",
"label": "Large"
},
{
"value": "medium",
"label": "Medium"
},
{
"value": "small",
"label": "Small"
}
]
}
]Scope requirements
Scope requirements
Antwort
200 - application/json
Successful response - Update an existing event type
The response is of type object.
Zuletzt geändert am 1. April 2026
⌘I