REST PCI API endpoint

The REST PCI API URI takes on the following forms:

https://rest-sl.interfax.net/{resource}[/{operation}]

where:

  • {resource} is the name of the resource being operated on, such as inbound/fax or outbound/batch.
  • [operation] is an operation on the resource, such as mark or cancel.
  • Optional items are enclosed in square braces and unbolded.

The URL may be followed by the query parameters, which take the form argument=value, where the arguments and values must be url-encoded. Multiple parameters are separated by an ampersand (&). The following example shows the URL for sending a fax to a certain number and forcing its paper size to “Letter” (shown here before url-encoding for readability):

https://rest-sl.interfax.net/outbound/fax?faxNumber=+12125874586&pageSize=Letter

The API documentation for each operation provides its URI and lists all of the mandatory and optional parameters, in addition to describing the response structure, return headers, etc.