Skip to main content
WEBHOOK
pdf.generated
{
  "success": true,
  "event": "PDF_GENERATED",
  "requestId": "req_123",
  "mode": "async",
  "message": "PDF generated successfully",
  "environment": "production",
  "data": {
    "url": "https://app.sudopdf.com/files/abc123.pdf",
    "creditsUsed": 1
  },
  "timestamp": "2025-09-14T12:34:56Z"
}

Headers

svix-id
string
required

Unique message identifier; constant on retries.

svix-timestamp
string
required

UNIX timestamp (seconds) when the webhook was sent.

svix-signature
string
required

HMAC-SHA256 signature(s) over "{id}.{timestamp}.{payload}". Format: space-delimited list of "v<ver>,<base64_signature>" (e.g. "v1,abc...").

Body

application/json
success
boolean
required
Example:

true

event
enum<string>
required
Available options:
PDF_GENERATED
requestId
string
required

Correlation ID from original request

mode
enum<string>
required
Available options:
async
message
string
required
Example:

"PDF generated successfully"

data
object
required
timestamp
string<date-time>
required
environment
enum<string>
Available options:
development,
production

Response

200

Receipt acknowledged