Class WebhookSetupClient
- java.lang.Object
-
- com.chrt.api.resources.notifications.webhooksetup.WebhookSetupClient
-
public class WebhookSetupClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description WebhookSetupClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookAppPortalAccessResappPortalAccessV1()Returns a 1-day magic link URL to access the Svix App Portal.WebhookAppPortalAccessResappPortalAccessV1(RequestOptions requestOptions)Returns a 1-day magic link URL to access the Svix App Portal.booleancreateAppV1()Creates a Svix consumer application for the organization.booleancreateAppV1(RequestOptions requestOptions)Creates a Svix consumer application for the organization.booleanturnOffV1()Disables webhook notifications for the organization.booleanturnOffV1(RequestOptions requestOptions)Disables webhook notifications for the organization.booleanturnOnV1()Enables webhook notifications for the organization.booleanturnOnV1(RequestOptions requestOptions)Enables webhook notifications for the organization.RawWebhookSetupClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
WebhookSetupClient
public WebhookSetupClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawWebhookSetupClient withRawResponse()
Get responses with HTTP metadata like headers
-
createAppV1
public boolean createAppV1()
Creates a Svix consumer application for the organization. Each org needs one app, then endpoints can be added and configured via the app portal. Idempotent - returns True if already created. | authz: min_org_role=administrator | () -> (bool)
-
createAppV1
public boolean createAppV1(RequestOptions requestOptions)
Creates a Svix consumer application for the organization. Each org needs one app, then endpoints can be added and configured via the app portal. Idempotent - returns True if already created. | authz: min_org_role=administrator | () -> (bool)
-
appPortalAccessV1
public WebhookAppPortalAccessRes appPortalAccessV1()
Returns a 1-day magic link URL to access the Svix App Portal. The link contains a one-time token - request a fresh link for each portal session. Admins/owners get full access, operators get read-only. | authz: min_org_role=operator | () -> (WebhookAppPortalAccessRes)
-
appPortalAccessV1
public WebhookAppPortalAccessRes appPortalAccessV1(RequestOptions requestOptions)
Returns a 1-day magic link URL to access the Svix App Portal. The link contains a one-time token - request a fresh link for each portal session. Admins/owners get full access, operators get read-only. | authz: min_org_role=operator | () -> (WebhookAppPortalAccessRes)
-
turnOnV1
public boolean turnOnV1()
Enables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOnV1
public boolean turnOnV1(RequestOptions requestOptions)
Enables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOffV1
public boolean turnOffV1()
Disables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOffV1
public boolean turnOffV1(RequestOptions requestOptions)
Disables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
-