...
Code Block | ||
---|---|---|
| ||
mutation { createWebhookSubscription( webhookSubscription: { topic: { key: 'scenario_session/create' } callbackUrl: "https://my-custom-application.com/hooks/scopear" sharedSecret: "SOME SUPER SECRET STRING" } ) { errors { field message } webhookSubscription { id } } } |
JSON response
Code Block | ||
---|---|---|
| ||
{ "data": { "createWebhookSubscription": { "errors": [], "webhookSubscription": { "id": "wMtvO+6DUTQZomQK8MP0Ppsip6hiuTe1TIihz7iadkk=" } } } } |
...