cURL
curl --request GET \ --url https://app.lettr.com/api/webhooks/{webhookId} \ --header 'Authorization: Bearer <token>'
200
Example
{ "message": "Webhook retrieved successfully.", "data": { "id": "webhook-abc123", "name": "Order Notifications", "url": "https://example.com/webhook", "enabled": true, "event_types": [ "message.delivery", "message.bounce" ], "auth_type": "basic", "has_auth_credentials": true, "last_successful_at": "2024-01-15T10:30:00+00:00", "last_failure_at": null, "last_status": "success" } }
Retrieve details of a single webhook including its status, event types, and delivery information.
API key for authentication
The webhook ID to retrieve
"webhook-abc123"
Webhook retrieved successfully
Response containing a single webhook
Human-readable response message
"Webhook retrieved successfully."
View of a webhook
Show child attributes
Was this page helpful?