Skip to main content

createSubscription

Subscribe the current workspace account to a notification type on a given medium. Upserts the subscription_preference row, reviving a previously soft-deleted preference on conflict. Returns false on error.

createSubscription(
input: CreateSubscriptionInput!
): Boolean

Arguments​

createSubscription.input ● CreateSubscriptionInput! non-null input​

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.