SDK reference · Python SDK
prov.account.text_consent_screenshots
prov.account.text_consent_screenshots in Python SDK. Slice 6: your screenshots of how people agree to your texts (records only), oldest first.
Signature
prov.account.text_consent_screenshots() -> AnyParameters
No parameters.
Returns
Any 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();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/account/text_consent/screenshots", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()