# createNotificationSubscription **Type:** GraphQL mutations **Description:** Create an HTTPS notification subscription (webhook) with built-in delivery retries (exponential back off over ~24 hours) by specifying the URL which will receive the HTTP POST request as the *endpoint*. Leverage Basic and Digest Access Authentication by using a URL formatted as https://user:password@domain.com or https://user@domain.com, respectively. (The password will be encrypted using TLS/SSL and not sent in plaintext). A confirmation message will be sent to the endpoint specified in each created notification subscriptions. Navigate to the URL in the confirmation message to confirm the subscription. Unconfirmed subscriptions will be automatically deleted 3 days after their creation. Alternatively, create an EMAIL notification subscription by specifying an email address as the *endpoint*. ## Arguments - type (NotificationSubscriptionType, Not Null): undefined - endpoint (String) ## Response **Type:** NotificationSubscription **Description:** Subscription to real time notifications ### Fields - type (NotificationSubscriptionType) - id (String) - endpoint (String)