Get webhook schema

Get the current proposed and/or confirmed schema for a webhook surface.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
Product ID
surfaceIdstringRequired
Surface ID

Response

Schema returned
learningStatestring
schemaConfirmedAtstring or null
confirmedSchemaany
proposedSchemaany

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error