CTWA
CTWA attribution and CAPI summary stats
GET
/
v1
/
ctwa
/
stats
CTWA attribution and CAPI summary stats
curl --request GET \
--url https://api.wazapin.com/v1/ctwa/statsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ctwa/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ctwa/stats"
response = requests.get(url)
print(response.text){
"attributed_conversations": 123,
"capi_by_status": {},
"top_source_ids": [
{
"count": 123,
"source_id": "<string>"
}
],
"sent_purchase_value": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
CTWA attribution and CAPI summary stats
curl --request GET \
--url https://api.wazapin.com/v1/ctwa/statsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ctwa/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ctwa/stats"
response = requests.get(url)
print(response.text){
"attributed_conversations": 123,
"capi_by_status": {},
"top_source_ids": [
{
"count": 123,
"source_id": "<string>"
}
],
"sent_purchase_value": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}