View as Markdown

SDK reference · Python SDK

prov.account.get_text_consent_import

prov.account.get_text_consent_import in Python SDK. Slice 2: one import, its status and counts and the first 1,000 rows not added.

Signature

prov.account.get_text_consent_import(import_id: str) -> Any

Parameters

import_idstrRequired

Request fields

idstringpathRequired
The import's id (tcimp_…).

Returns

Any The import.

HTTP operation

GET /v1/account/text_consent_imports/{id}: Retrieve a consent import

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.