CreateSubscriberRequest: {
    emailConfig?: SubscriberEmailConfig;
    name: string;
    organizationId?: string;
    projectId?: string;
    region?: Region;
    webhookConfig?: SubscriberWebhookConfig;
}

Create a new alert subscriber (webhook or email).

Type declaration

  • OptionalemailConfig?: SubscriberEmailConfig

    Email address configuration.

    One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.

  • name: string

    Subscriber name.

  • OptionalorganizationId?: string

    Organization ID to create the subscriber in.

    One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.

  • OptionalprojectId?: string

    Project ID to create the subscriber in.

    One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionalwebhookConfig?: SubscriberWebhookConfig

    WebHook URI configuration.

    One-of ('config'): at most one of 'emailConfig', 'webhookConfig' could be set.