Skip to main content

Arguments

Returns

RequestDoubleOptIn

Request a double opt in for a consent.

This mutation will create a consent with a value of PENDING and publish a double opt-in requested transactional messaging trigger.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can edit customer marketing preference

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation RequestDoubleOptIn($input: DoubleOptInInput) { requestDoubleOptIn(input: $input) { consent { ...ConsentTypeFragment } } }

Variables

{ "input": DoubleOptInInput }

Response

{ "data": { "requestDoubleOptIn": { "consent": ConsentType } } }