SDK reference · Python SDK
prov.mandate.calls
prov.mandate.calls in the Python SDK: 3 methods. client.mandate.calls: the caller side.
Methods
register
prov.mandate.calls.register(credential: str, challenge_code: Optional[str] = …) -> AnyRegister a call before dialing (free): the registration and its short_code, or status: refused and a reason.
Calls POST /v1/mandate/calls.
revoke
prov.mandate.calls.revoke(call_id: str) -> AnyCalls POST /v1/mandate/calls/{id}/revoke.
decline_proof_request
prov.mandate.calls.decline_proof_request(proof_request_id: str) -> AnyAnswer a proof request for a call your agent didn't place: the check returns no_proof.
Calls POST /v1/mandate/calls/proof_requests/{id}/decline.