View as Markdown

SDK reference · Node SDK

prov.account.listTextConsentScreenshots

prov.account.listTextConsentScreenshots in Node SDK. Slice 6: your screenshots of how people agree to your texts (records only), oldest first.

Signature

prov.account.listTextConsentScreenshots(): Promise<{ object: "list"; data: TextConsentScreenshot[]; hasMore: boolean }>

Parameters

No parameters.

Returns

Promise<{ object: "list"; data: TextConsentScreenshot[]; hasMore: boolean }> The screenshots.

HTTP operation

GET /v1/account/text_consent/screenshots: List your opt-in screenshots

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.