SDK reference · Python SDK
prov.authorize.calls
prov.authorize.calls in the Python SDK: 6 methods. client.authorize.calls: the answering side.
Methods
check
prov.authorize.calls.check(from_: str, to: str, at: Optional[str] = …, code: Optional[str] = …, challenge: Optional[bool] = …, wait: Optional[int] = …) -> AnyCheck an incoming call (from_ is the calling number; from is a Python keyword).
Calls POST /v1/authorize/call_checks.
get
prov.authorize.calls.get(check_id: str, wait: Optional[int] = …) -> AnyRead a check; wait long-polls a pending check or confirmation (seconds, at most 60).
Calls GET /v1/authorize/call_checks/{id}.
request
prov.authorize.calls.request(check_id: str, action_type: str, description: str, amount: Optional[int] = …, currency: Optional[str] = …, wait: Optional[int] = …) -> AnyAsk for more during the call: within_scope, or a confirmation to the person while the call holds.
Calls POST /v1/authorize/call_checks/{id}/requests.
guest_confirmation
prov.authorize.calls.guest_confirmation(check_id: str, description: str, contact: Optional[dict] = …, delivery: Optional[str] = …, channels: Optional[list] = …, follow_up_text: Optional[dict] = …, reminders: Optional[dict] = …, amount: Optional[int] = …, currency: Optional[str] = …, wait: Optional[int] = …) -> AnySend a confirmation straight to the guest contact you hold ({"phone":..., "email":...}, one or both).
Calls POST /v1/authorize/call_checks/{id}/guest_confirmations.
relay_code
prov.authorize.calls.relay_code(check_id: str) -> AnyThe last resort: a code and a short address the caller relays to its person.
Calls POST /v1/authorize/call_checks/{id}/relay_codes.
receipt
prov.authorize.calls.receipt(check_id: str) -> AnyThe signed receipt of a verified call.
Calls GET /v1/authorize/call_checks/{id}/receipt.