List event property keys REST API
GET
/api/sites/{id}/events/properties
const url = 'https://app.hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/properties?event_name=example';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/properties?event_name=example' \ --cookie hk_token=<hk_token>Lists JSON property keys observed for an event name in the selected date range.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Query Parameters
Section titled “Query Parameters”from
string format: date-time
to
string format: date-time
event_name
required
string
Responses
Section titled “Responses”Event property keys
Media typeapplication/json
Array<string>
Examplegenerated
[ "example"]