---
title: "message.attempt.log"
method: POST
path: "message.attempt.log"
tags: ["Webhook"]
---

# message.attempt.log

`POST message.attempt.log` (webhook)

Sent after message attempts are made. Contains metadata about message attempts and their results. In order to reduce the frequency of webhooks, these are sent in batches periodically.

## Payload

- MessageAttemptLogEvent — Sent after message attempts are made. Contains metadata about message attempts and their results. In order to reduce the frequency of webhooks, these are sent in batches periodically.
  - `data` MessageAttemptLog[], required
    - `orgId` string, required — The Environment's ID.
    - `appId` string, required — The Application's ID.
    - `appUid` string, nullable — The Application's UID.
    - `endpointId` string, required — The Endpoint's ID.
    - `msgId` string, required — The Message's ID.
    - `msgEventId` string, nullable — The Message's UID.
    - `msgCreated` string, date-time, required
    - `attemptStart` string, date-time, required
    - `attemptEnd` string, date-time, required
    - `attemptId` string, required — The MessageAttempt's ID.
    - `responseStatusCode` integer, required
    - `attemptCount` integer, required
    - `status` 0 | 1 | 2 | 3 | 4, required — The sending status of the message: - Success = 0 - Pending = 1 - Fail = 2 - Sending = 3 - Canceled = 4
    - `eventType` string, nullable — The event type's name
    - `httpTimes` HttpAttemptTimes
      - `start` string, date-time, required
      - `end` string, date-time, required
  - `type` 'message.attempt.log', required

## Acknowledgement `2XX`

Return any 2XX status to indicate that the data was received successfully

---

[API](https://skmtc.net/svix/apis/svix-api.md) · [All operations](https://skmtc.net/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/svix-api/versions/16dbcc056c48/schema)
