Skip to main content

ConsentsService

A list of all methods in the ConsentsService service. Click on the method name to view detailed information about that method.

MethodsDescription
ConsentsGetConsentsAsyncGet all consents definitions Example of metaData for a Consent: "metaData": { "conditionText": { "sv-SE": "Svensk villkorstext", "en-GB": "English text to show for condition" }, "displayText": { "sv-SE": "Svensk text att visa", "en-GB": "English text to display" }, "linkText": { "sv-SE": "Svensk text att visa på länk", "en-GB": "English text to show on link" } }

ConsentsGetConsentsAsync

Get all consents definitions Example of metaData for a Consent: "metaData": { "conditionText": { "sv-SE": "Svensk villkorstext", "en-GB": "English text to show for condition" }, "displayText": { "sv-SE": "Svensk text att visa", "en-GB": "English text to display" }, "linkText": { "sv-SE": "Svensk text att visa på länk", "en-GB": "English text to show on link" } }

  • HTTP Method: GET
  • Endpoint: /api/v2/consents

Return Type

List<ApiConsentDefinition>

Example Usage Code Snippet

using VoyadoEngage;

var client = new VoyadoEngageClient();

var response = await client.Consents.ConsentsGetConsentsAsync();

Console.WriteLine(response);

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →