Manage Tasks
Operations for managing Tweet Catcher monitoring tasks
Retrieves user account information, including the expiration date, task limits, and current tasks list
GET /pro/info HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Accept: */*
{
"expireAt": "2024-12-31T23:59:59Z",
"tasksLimit": 200,
"globalMonitorTasksLimit": 5,
"tasks": [
{
"id": 685,
"module": "twitter",
"user": "Gioppooo",
"group": "influencers",
"options": [
"ocr",
"posts",
"retweets",
"replies"
],
"notification": "discord",
"webhook": "https://discord.com/api/webhooks/...",
"ping": "everyone",
"running": false
}
]
}
Retrieves a list of the user's tasks
Filter tasks by group
GET /pro/tasks-list HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": 685,
"module": "twitter",
"user": "Gioppooo",
"group": "influencers",
"options": [
"ocr",
"posts",
"retweets",
"replies"
],
"notification": "discord",
"webhook": "https://discord.com/api/webhooks/...",
"ping": "everyone",
"running": false
},
{
"id": 732,
"module": "twitter",
"user": "another_user",
"options": [
"posts"
],
"notification": "telegram",
"chatId": "123456789",
"running": true
},
{
"id": 733,
"module": "twitter_keyword",
"keyword": "bitcoin",
"notification": "websocket",
"running": true
}
]
Adds a new monitoring task
Platform module to monitor
twitter
Possible values: Username to monitor (required unless module is twitter_keyword)
Keyword to monitor (required for twitter_keyword module)
Task group for organization
Notification method
Discord webhook URL or custom webhook URL (required for Discord and webhook notifications)
Telegram chat ID (required for Telegram notifications)
Whether to use different webhooks for different monitoring options
Discord ping option
Discord role ID to ping (required if ping is set to role)
Keywords or regex for selective pinging
Whether to use regex for ping keywords
Whether to automatically start the task after creation
Webhook for posts (if differentWebhooks is true)
Webhook for following updates (if differentWebhooks is true)
Webhook for user updates (if differentWebhooks is true)
Telegram chat ID for posts (if differentWebhooks is true)
Telegram chat ID for following updates (if differentWebhooks is true)
Telegram chat ID for user updates (if differentWebhooks is true)
Whether to ignore images in notifications
false
Whether to ignore videos in notifications
false
POST /pro/add-task HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 155
{
"user": "gioppooo",
"options": [
"posts",
"retweets"
],
"notification": "discord",
"webhook": "https://discord.com/api/webhooks/...",
"ping": "everyone",
"start": true
}
{
"id": 932
}
Starts a specific task
Task ID
POST /pro/start-task HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"id": 932
}
{
"error": false
}
Edits an existing task for the user
Task ID to edit
Platform module to monitor
twitter
Possible values: Username to monitor (required unless module is twitter_keyword)
Keyword to monitor (required for twitter_keyword module)
Task group for organization
Notification method
Discord webhook URL or custom webhook URL (required for Discord and webhook notifications)
Telegram chat ID (required for Telegram notifications)
Whether to use different webhooks for different monitoring options
Discord ping option
Discord role ID to ping (required if ping is set to role)
Keywords or regex for selective pinging
Whether to use regex for ping keywords
Whether to automatically start the task after creation
Webhook for posts (if differentWebhooks is true)
Webhook for following updates (if differentWebhooks is true)
Webhook for user updates (if differentWebhooks is true)
Telegram chat ID for posts (if differentWebhooks is true)
Telegram chat ID for following updates (if differentWebhooks is true)
Telegram chat ID for user updates (if differentWebhooks is true)
Whether to ignore images in notifications
false
Whether to ignore videos in notifications
false
POST /pro/edit-task HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"id": 932,
"module": "twitter",
"user": "solvingkasada",
"options": [
"following"
],
"notification": "websocket"
}
{
"error": false
}
Stops a specific task for the user
Task ID
POST /pro/stop-task HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"id": 932
}
{
"error": false
}
Deletes a specific task for the user
Task ID
POST /pro/delete-task HTTP/1.1
Host: monitor-api.tweet-catcher.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"id": 932
}
{
"error": false
}