Skip to main content
GET
/
webhooks
/
{webhookId}
/
deliveries
/
{deliveryId}
Get a specific webhook delivery
curl --request GET \
  --url https://api.lettermint.co/v1/webhooks/{webhookId}/deliveries/{deliveryId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "webhook_id": "<string>",
  "event_type": "message.created",
  "status": "pending",
  "attempt_number": 123,
  "http_status_code": 123,
  "duration_ms": 123,
  "payload": [
    "<string>"
  ],
  "response_body": "<string>",
  "response_headers": [
    "<string>"
  ],
  "error_message": "<string>",
  "delivered_at": "2023-11-07T05:31:56Z",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhookId
string
required
deliveryId
string
required

Response

200 - application/json

WebhookDeliveryData

  • WebhookDeliveryData
  • Option 2
id
string
required
webhook_id
string
required
event_type
enum<string>
required
Available options:
message.created,
message.sent,
message.delivered,
message.hard_bounced,
message.soft_bounced,
message.spam_complaint,
message.failed,
message.suppressed,
message.unsubscribed,
message.inbound,
webhook.test
status
enum<string>
required
Available options:
pending,
success,
failed,
client_error,
server_error,
timeout
attempt_number
integer
required
http_status_code
integer | null
required
duration_ms
integer | null
required
payload
string[]
required
response_body
string | null
required
response_headers
string[] | null
required
error_message
string | null
required
delivered_at
string<date-time> | null
required
timestamp
string<date-time>
required