# prov.authorize.calls.get

prov.authorize.calls.get in Node SDK. Read a check; `wait` long-polls a pending check or confirmation (seconds, at most 60).

## Signature

```ts
prov.authorize.calls.get(id: string, options?: { wait?: number }): Promise<CallCheck>
```

## Parameters

- `id` (string)
- `options` ({ wait?: number }, optional)

## Returns

`Promise<CallCheck>`

## HTTP operation

[`GET /v1/authorize/call_checks/{id}`](https://provenanceauth.com/docs/api/call-checks.md#get-v1-authorize-call-checks-id): Retrieve a call check

## Errors

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

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```
