Webhooks

Log a sent email (internal use)

Internal endpoint called by the communications service to log emails after they are sent via Resend. Requires x-api-key header authentication.

post/webhooks/email-sent

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    API key in header x-api-key

Request body

resend_idstring

Resend's email ID (null if send failed)

email_typestring required

Type of email (invitation, welcome, etc.)

from_emailstring required
to_emailstring required
subjectstring required
user_idstring uuid
metadataobject
status'sent' | 'failed'
error_messagestring

Response

Email logged successfully

Changes

No recorded changes to this operation across all 1 revision of this API.