Skip to content

Webhook Replay

Replay previously dispatched webhook payloads. Supports initializing a replay, replaying persisted dispatched webhook details, streaming replay data, and paging replay results by cursor.

Replay webhook payloads from persisted dispatched webhook details.

Request

Security
bearerAuth and apiKeyAuth
Query
startTimeinteger, (int64)

Replay start time in milliseconds

endTimeinteger, (int64)

Replay end time in milliseconds

subscriptionIdstring

Webhook subscription id

sizeinteger, (int32)

Page size

Bodyapplication/jsonrequired
subscriptionIdstring
startTimeinteger, (int64)
endTimeinteger, (int64)
statusesArray of strings
webhookTypesArray of strings
eventIdstring
sizeinteger, (int32)
curl -i -X POST \
  'https://api3.sprinklr.com/prod/api/v3/webhook-replay?startTime=0&endTime=0&subscriptionId=string&size=0' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "subscriptionId": "string",
    "startTime": 0,
    "endTime": 0,
    "statuses": [
      "string"
    ],
    "webhookTypes": [
      "string"
    ],
    "eventId": "string",
    "size": 0
  }'

Responses

Success

Bodyapplication/json
resultsArray of objects

List to assets returned as part of search

cursorstring

Link to get next set of results

countinteger, (int64)
Response
{ "results": [ {} ], "cursor": "string", "count": 0 }