Upload webhook schema
Upload a schema (AsyncAPI, JSON Schema, or raw JSON example) for a webhook surface.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Product ID
surfaceId
Surface ID
Request
This endpoint expects an object.
format
Allowed values:
schema
Response
Schema uploaded
learningState
proposedSchema
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error