View as Markdown

SDK reference · Node SDK

prov.account.textConsentSettings

prov.account.textConsentSettings in Node SDK. How consent to your texts is held, your statement for everyone, the counts and the wording in force.

Signature

prov.account.textConsentSettings(): Promise<TextConsentSettings>

Parameters

No parameters.

Returns

Promise<TextConsentSettings> The settings.

HTTP operation

GET /v1/account/text_consent: Retrieve consent to text settings

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/text_consent`, {
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.