Javascript
import BlueHive from '@bluehive/sdk'; const client = new BlueHive({ apiKey: 'My API Key', }); const response = await client.fax.send({ document: { content: 'content', contentType: 'application/pdf' }, to: 'to', }); console.log(response.id);
{ "id": "<string>", "status": "queued", "provider": "<string>", "to": "<string>", "from": "<string>", "createdAt": "<string>", "estimatedDelivery": "<string>" }
Send a fax document to a specified number using the configured fax provider.
API key for accessing BlueHive API endpoints. Format: "ApiKey <your-api-key>" or "Bearer <your-api-key>"
Default Response
The response is of type object.
object
Was this page helpful?