List Property Events
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": 123,
"event_type": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"user": {
"id": 123,
"name": "<string>",
"email": "<string>"
}
}
]Properties
List Property Events
List recent events related to a specific property (e.g. status changes, assignments)
GET
/
api
/
v1
/
accounts
/
{account_id}
/
properties
/
{id}
/
events
List Property Events
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/properties/{id}/events"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": 123,
"event_type": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"user": {
"id": 123,
"name": "<string>",
"email": "<string>"
}
}
]