Skip to main content
PUT
Update webhook (v3)

Authorizations

Authorization
string
header
required

Bearer API key for external client access. Live keys use the sk_ prefix; test keys use the sk_test_ prefix and support order-lifecycle testing with mock responses without processing or credit usage.

Path Parameters

webhookId
integer
required
Required range: x >= 1

Body

application/json
url
string<uri>
required

Webhook URL

Example:

"https://example.com/webhook"

name
string

Webhook name

Maximum string length: 100
isTest
boolean

Endpoint mode. For a test API key, omission preserves test mode and true is allowed; false returns AUTH_FORBIDDEN. Live API keys may choose either mode.

subscribedEvents
enum<string>[]
Minimum array length: 1
Available options:
order.antiAi.completed,
order.antiAi.failed,
order.watermarkEmbed.completed,
order.watermarkEmbed.failed,
order.watermarkExtract.completed,
order.watermarkExtract.failed,
order.aiDetection.completed,
order.aiDetection.failed

Response

Success

data
object