***

title: FaxAction
slug: /reference/python/relay/actions/fax-action
description: Action handle for an active fax send or receive operation.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[call-send-fax]: /docs/server-sdks/reference/python/relay/call/send-fax

[call-receive-fax]: /docs/server-sdks/reference/python/relay/call/receive-fax

[base-action-interface]: /docs/server-sdks/reference/python/relay/actions

[stop]: /docs/server-sdks/reference/python/relay/actions/fax-action/stop

Returned from [`call.send_fax()`][call-send-fax] or
[`call.receive_fax()`][call-receive-fax]. Tracks
an active fax send or receive operation. Terminal states: `finished`, `error`.

Inherits all properties and methods from the
[base Action interface][base-action-interface] (`control_id`,
`is_done`, `completed`, `result`, `wait()`).

## **Properties**

No additional properties beyond the [base Action interface][base-action-interface].

## **Methods**

<CardGroup cols={2}>
  <Card title="stop" href="/docs/server-sdks/reference/python/relay/actions/fax-action/stop">
    Stop the fax operation.
  </Card>
</CardGroup>

## **Example**

```python
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    await call.answer()
    action = await call.send_fax(
        document="https://example.com/invoice.pdf",
        identity="+15559876543",
    )

    event = await action.wait()
    fax_info = event.params.get("fax", {})
    print(f"Fax pages: {fax_info.get('pages')}")

client.run()
```