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.
curl --request POST \
--url https://api.x.com/2/webhooks/replay \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_date": "202504242000",
"to_date": "202504242000",
"webhook_id": "1146654567674912769"
}
'{
"created_at": "2025-04-24T20:57:15.242Z",
"job_id": "1915510368169844736"
}Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The oldest (starting) UTC timestamp (inclusive) from which events will be provided, in yyyymmddhhmm format.
^[0-9]{12}$"202504242000"
The oldest (starting) UTC timestamp (inclusive) from which events will be provided, in yyyymmddhhmm format.
^[0-9]{12}$"202504242000"
The unique identifier of this webhook config.
^[0-9]{1,19}$"1146654567674912769"
The request has succeeded.
curl --request POST \
--url https://api.x.com/2/webhooks/replay \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_date": "202504242000",
"to_date": "202504242000",
"webhook_id": "1146654567674912769"
}
'{
"created_at": "2025-04-24T20:57:15.242Z",
"job_id": "1915510368169844736"
}