Replay retained webhook events
POST/v1/webhook_endpoints/{endpoint}/replays
Accept a bounded replay of events still present in account history. Account-event history has no fixed minimum retention period in beta. Retrying the same acceptance key recovers its response for 24 hours.
Body ParametersJSON
Replay retained webhook events
curl https://whatsapp.messages.api.linqapp.com/v1/webhook_endpoints/$ENDPOINT/replays \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LINQ_WHATSAPP_API_KEY" \
-d '{}'{
"id": "id",
"after_cursor": "after_cursor",
"created_at": "2019-12-27T18:11:19.117Z",
"selected": 0,
"state": "pending",
"through_cursor": "through_cursor"
}Returns Examples
{
"id": "id",
"after_cursor": "after_cursor",
"created_at": "2019-12-27T18:11:19.117Z",
"selected": 0,
"state": "pending",
"through_cursor": "through_cursor"
}