CTWA
Manually report a conversion to ad platforms
POST
/
v1
/
ctwa
/
manual-report
Manually report a conversion to ad platforms
curl --request POST \
--url https://api.wazapin.com/v1/ctwa/manual-report \
--header 'Content-Type: application/json' \
--data '
{
"event_name": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"currency": "<string>",
"order_id": "<string>",
"phone": "<string>",
"value": 123
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event_name: '<string>',
contact_id: '<string>',
conversation_id: '<string>',
currency: '<string>',
order_id: '<string>',
phone: '<string>',
value: 123
})
};
fetch('https://api.wazapin.com/v1/ctwa/manual-report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ctwa/manual-report"
payload = {
"event_name": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"currency": "<string>",
"order_id": "<string>",
"phone": "<string>",
"value": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"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>"
}
}{
"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
Manually report a conversion to ad platforms
curl --request POST \
--url https://api.wazapin.com/v1/ctwa/manual-report \
--header 'Content-Type: application/json' \
--data '
{
"event_name": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"currency": "<string>",
"order_id": "<string>",
"phone": "<string>",
"value": 123
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event_name: '<string>',
contact_id: '<string>',
conversation_id: '<string>',
currency: '<string>',
order_id: '<string>',
phone: '<string>',
value: 123
})
};
fetch('https://api.wazapin.com/v1/ctwa/manual-report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ctwa/manual-report"
payload = {
"event_name": "<string>",
"contact_id": "<string>",
"conversation_id": "<string>",
"currency": "<string>",
"order_id": "<string>",
"phone": "<string>",
"value": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true
}{
"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>"
}
}{
"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>"
}
}