You can transfer the contents which are compatible with the alert rules through the webhook API to your services too.
The first thing to do here is to create an API endpoint and an url for your service to insert data by using this API.
As you can see below, the Listen Webhook API creates the data output.
{
"Data": {
"event": {
"name": "PostCreated"
},
"post": {
"content": "Falcon 9 has landed – first West Coast land landing of an orbital class rocket booster.",
"url": "https://twitter.com/SpaceX/status/1049125778841989120",
"publishedDate": "2018-10-08 05:34:00",
"processedDate": "2018-10-08 05:36:00",
"companyId": "7697",
"source": {
"id": 1,
"name": "Twitter",
"domain": "twitter.com"
},
"user": {
"id": 229021888,
"name": "SpaceX",
"screenName": "SpaceX",
"imageUrl": "https://pbs.twimg.com/profile_images/671865418701606912/HECw8AzK_bigger.jpg",
"followerCount": 7410000
}
}
}
}
You can complete the integration by using the url of which you created on your side by following these steps:
Now, you can create a new rule through the Alert Rules part on the left-menu or add this list to the existing rule. For further information, you might look at the article on “Alert Rules”.