Create a webhook endpoint
Creates a new outbound webhook subscription. The plaintext
secret_key is returned once in this response — persist it
immediately to verify incoming webhook signatures. Subsequent reads
return null for the secret. Pass an empty subscriptions array or
omit it to receive every event.
Required scope: write_settings (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Body
application/json
Response
webhook endpoint created — secret_key returned once
Spree Admin SDK

