Sift | Docs

BatchCreateWebhookLogs

Create a batch of webhook logs. Users should not have to call this directly.

POST
/api/v1/webhooks/logs:batch-create

Request Body

application/jsonRequired

The request for a call to WebhookService_BatchCreateWebhookLogs to create a batch of webhook logs.

requests
Required
array<object>

curl -X POST "<API_URL>/api/v1/webhooks/logs:batch-create" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "requests": [
      {
        "webhookId": "string",
        "eventId": "string",
        "retryAttemptNumber": 0,
        "status": "WEBHOOK_LOG_STATUS_UNSPECIFIED",
        "payload": "string",
        "errorReason": "string",
        "sentDate": "2019-08-24T14:15:22Z"
      }
    ]
  }'

A successful response.

{}