Home / Servers / X (Twitter) API / create_webhook_replay_job
Create Replay Job for Webhook
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Create Replay Job for Webhook Creates a replay job to retrieve events from up to the past 24 hours for all events delivered or attempted to be delivered to the webhook. [POST /2/webhooks/replay]
Name on the gateway: x_api__create_webhook_replay_job · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
from_date required | string | The oldest (inclusive) UTC timestamp from which events are replayed, in… |
to_date required | string | The newest (inclusive) UTC timestamp up to which events are replayed, in… |
webhook_id required | string | The ID of the webhook to replay events to. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "x_api__create_webhook_replay_job",
"arguments": {
"from_date": "…",
"to_date": "…",
"webhook_id": "…"
}
}Or connect the X (Twitter) API server directly, which lists 258 tools including this one:
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create replay job for webhook tool with from_date set to ….