Automation
Get v1automationevents
GET
/
v1
/
automation
/
events
cURL
curl --request GET \
--url https://api.wazapin.com/v1/automation/eventsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/automation/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/events"
response = requests.get(url)
print(response.text){
"items": [
{
"created_at": "<string>",
"dedupe_key": "<string>",
"event_type": "<string>",
"id": "<string>",
"occurred_at": "<string>",
"channel_id": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"entity_id": "<string>",
"entity_type": "<string>",
"matched_at": "<string>",
"payload": "<unknown>"
}
],
"meta": {
"has_more": true,
"limit": 123,
"cursor": "<string>",
"next_cursor": "<string>",
"offset": 123,
"total": 123
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/automation/eventsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/automation/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/events"
response = requests.get(url)
print(response.text){
"items": [
{
"created_at": "<string>",
"dedupe_key": "<string>",
"event_type": "<string>",
"id": "<string>",
"occurred_at": "<string>",
"channel_id": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"entity_id": "<string>",
"entity_type": "<string>",
"matched_at": "<string>",
"payload": "<unknown>"
}
],
"meta": {
"has_more": true,
"limit": 123,
"cursor": "<string>",
"next_cursor": "<string>",
"offset": 123,
"total": 123
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}