View as Markdown
Phaxio icon

Phaxio ACTION

Send Fax

Sends a fax. See docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Phaxio account once, then configure and run Send Fax from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "phaxio-send-fax",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    phaxio: { authProvisionId: "apn_xxxxxxx" },
    to: "To",
    contentUrl: "Content URL",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Send Fax inputs
Property Type Description
to To string
A phone number in E.164 format (+[country code][number]). E.g. +5547991856893
Required
contentUrl Content URL string
A URL to be rendered and sent as the fax content. E.g. https://i.imgur.com/BRkm0s0.jpeg
Required
headerText Header Text string
Text that will be displayed at the top of each page of the fax. 50 characters maximum, all unicode characters accepted.
Optional
headerPageNums Header Page Nums boolean
Turns page numbers in header on or off. Default is true
Optional
callbackUrl Callback URL string
You can specify a callback url that will override the one you have defined globally for your account.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
phaxio-send-fax
Version
0.0.2
App
Phaxio
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes