Create a webhook subscription
Webhooks
Create Subscription
Registers a webhook endpoint to receive domain events for the specified tenant. The response includes the plaintext HMAC signing secret — this is the only time the secret is returned. Store it securely.
POST
Create a webhook subscription
Authorizations
Firebase Auth JWT issued by Google Identity Platform.
Obtain a token by signing in at your app domain and calling
firebase.auth().currentUser.getIdToken().
Body
application/json
HTTPS endpoint to receive webhook deliveries.
Domain event types to subscribe to. Known event types:
snapshot.created, update.proposed, update.applied,
refresh_request.created, refresh_request.fulfilled.
Minimum array length:
1