SDK reference · Python SDK

prov.attest.capture_requests.remind

prov.attest.capture_requests.remind in Python SDK. Remind the person about a pending request (201).

Signature

prov.attest.capture_requests.remind(request_id: str, channel: str | None = …, recipient: str | None = …, idempotency_key: str | None = …) -> Any

Parameters

request_idstrRequired
channelstr | None
recipientstr | None
idempotency_keystr | None

Request fields

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired
The capture request's ID (capr_…).
channelenum
Pins the channel (app_notification, email or text; sms and app_push are refused); it must be one the request has and its channels allow (400 on channel otherwise). That message goes alone, with no follow-up text. Left out, the plan applies. One of app_notification, text, email.
recipientstring
For a request with several people, one recipient key. A capture request has one: contact.

Returns

Any The reminder, sent or held until quiet hours end.

HTTP operation

POST /v1/attest/capture_requests/{id}/reminders: Remind the person

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/capture_requests/capr_01JCWZ7M3KQ9X2V4B7N8D5F6GH/reminders`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.