Events
| Action |
Event name |
| update goal settings (PUT /goal-settings) |
goalsettings.updated |
Payload example updated
{
"attemptId": "20ebdb3d-85e1-47a4-a81d-7b6c7dd1a481",
"created": 1634755434,
"data": {
"baseUrl": "https://api.goal.com",
"clientId": "NameOfTheClient",
"clientSecret": "SecretOfTheClient",
"pushOnManifestStatus": true
},
"event": "goalsettings.updated",
"id": "2e32d603-a379-46f9-9393-ba4d1859e2fe",
"livemode": true
}
Payload fields (goalsettings.updated)
| Field |
Type |
Description |
| id |
string |
Webhook event id |
| attemptId |
string |
Delivery attempt id |
| created |
int |
Unix timestamp when the event was created |
| event |
string |
goalsettings.updated |
| livemode |
boolean |
Whether the account is in live mode |
| data |
object |
The updated goal settings |
| data.baseUrl |
string |
The URL of the Goal API |
| data.clientId |
string |
The client ID to access the Goal API |
| data.clientSecret |
string |
The client secret to access the Goal API |
| data.pushOnManifestStatus |
boolean |
Whether to consider manifest status to push to the goal system |