# 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

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

## Returns

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

## HTTP operation

[`GET /v1/account/text_consent/screenshots`](https://provenanceauth.com/docs/api/account.md#get-v1-account-text-consent-screenshots): List your opt-in screenshots

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`text_consents_unavailable`](https://provenanceauth.com/docs/platform/errors.md#text_consents_unavailable)

## Example

**Node**

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

**Python**

```python
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()
```
