Applies to: RightFax 10.6, 16.2, 16.4, 16.6, 20.2, 21.2
The RightFax Web API enables integration with custom web applications. While custom development is outside Customer Support scope, Support can assist in verifying baseline API functionality.
This article explains how to:
Upload an attachment with Postman.
Submit a test fax with Postman.
Troubleshoot common Postman errors.
Use PowerShell to test Web API submissions.
Note: If an attachment is required, it must be uploaded before fax submission.
Steps:
In Postman, click New.
Select HTTP Request.
Name the request and add it to a collection.
Change the method from GET to POST.
Enter the URL:
Under Authorization, set Type to Basic Auth.
Tip: NTLM can be used if the account is NT-linked.
Enter a valid RightFax User ID and Password.
Under Body, choose form-data.
Set the Key type to File and browse for the file.
Click Send.
Result: A 201 Created response with an Attachment URL. Save this URL for fax submission.
Steps:
In Postman, create a new HTTP Request.
Name and save it to a collection.
Change the method to POST.
Enter the URL:
Under Authorization, set Type to Basic Auth (or NTLM).
Enter valid credentials.
Under Body, select raw and set format to JSON.
Paste the following JSON:
To send without attachment, use:
Click Send.
Result: A 201 Created response with job submission details.
401 Unauthorized – Invalid credentials. Try NTLM if needed.
400 Bad Request – Check JSON formatting and Attachment URL.
404 Not Found – Verify server name and endpoint path.
500 Internal Server Error – Check RightFax services and logs.
PowerShell v3.0 or later can also be used.
Example Script:
Result: 201 Created with job submission details.
Original Legacy Article ID: KB4715737