Overview
Get comprehensive information about a specific endpoint including its configuration, delivery statistics, recent deliveries, associated email addresses, and catch-all domain configurations.Authentication
Bearer token for API authentication. Format:
Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the endpoint to retrieve.
Response
Response Fields
Unique identifier for the endpoint.
User-friendly name for the endpoint.
Type of endpoint:
webhook
, email
, or email_group
.Configuration object specific to the endpoint type.
Whether the endpoint is active and will receive emails.
Description of the endpoint.
ID of the user who owns this endpoint.
ISO 8601 timestamp when the endpoint was created.
ISO 8601 timestamp when the endpoint was last updated.
Array of email addresses (only for
email_group
type endpoints).Statistics about email deliveries to this endpoint.
Array of the 10 most recent delivery attempts.
Array of email addresses that route to this endpoint.
Array of domains that use this endpoint for catch-all routing.
Examples
Get Webhook Endpoint
Get Email Group Endpoint
Error Responses
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
500 Internal Server Error
500 Internal Server Error
Understanding the Response
For webhook endpoints, the
config
object contains:url
- The webhook destination URLtimeout
- Request timeout in seconds (default: 30)retryAttempts
- Number of retry attempts (default: 3)headers
- Custom headers to include in requestssecret
- Webhook secret for signature verification
Delivery Statistics
ThedeliveryStats
object provides insights into how the endpoint is performing:
Success Rate
successful / total * 100
gives you the success percentageRecent Activity
lastDelivery
shows when the endpoint was last usedRecent Deliveries
TherecentDeliveries
array shows the 10 most recent delivery attempts, including:
- Success/failure status
- Response data (for webhooks)
- Delivery timing information
- Number of attempts made
✅ Documentation Verified - This endpoint documentation has been verified against the actual API implementation in
/api/v2/endpoints/[id]/route.ts
. All response fields, types, and behavior match the implementation.