Skip to content

Get a specific webhook

GET
/api/domains/{domain}/webhooks/{webhookGuid}

Retrieve details of a specific webhook configuration owned by the authenticated user

domain
required
string
Example
example.com

Domain name that must be owned by the authenticated user

webhookGuid
required
string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000

Unique identifier (GUID) of the webhook

Successfully retrieved webhook details

object
success

Indicates the request was successful

boolean
Example
true
data

Webhook configuration for email event notifications

object
webhook_guid

Unique identifier for the webhook

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000
user_guid

GUID of the user who owns the webhook

string
Example
user-guid-123
user_domain_guid

GUID of the domain associated with the webhook

string
Example
domain-guid-456
user_smtp_guid

GUID of the SMTP configuration

string
Example
smtp-guid-789
type

Event type that triggers the webhook

string
Allowed values: queued send delivered bounced failed permanent_fail opened clicked unsubscribed temporary_fail deferred
Example
delivered
url

URL endpoint where webhook events will be sent

string format: uri
Example
https://example.com/webhook
is_deleted

Whether the webhook has been deleted

boolean
created_at

Unix timestamp when the webhook was created

integer
Example
1640995200
modified_at

Unix timestamp when the webhook was last modified

integer
Example
1640995200

Unauthorized - Invalid or missing authentication credentials

object
success
boolean
message
string
Example
Unauthorized

Not Found - Domain or webhook not found

object
success
boolean
message
string
Example
Domain not found or you do not own this domain

Validation Error - Invalid input data

object
success
boolean
message
string
Example
Validation failed.
errors

Field-specific validation errors

object

Too Many Requests - Rate limit exceeded. Retry after the specified time.

object
success
boolean
message
string
Example
Too many attempts. Please try again later.
Retry-After
integer

Seconds until rate limit resets

X-RateLimit-Limit
integer

Maximum requests per minute

X-RateLimit-Remaining
integer

Remaining requests in current window

Server Error - Unexpected error occurred

object
success
boolean
message
string
Example
An error occurred while processing the request.