JSON API » faxes » faxes/get

Get fax status.

Input parameters

Requires authentication and the send_fax role privilege.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
idStringID of fax to get.Yes

Responses

CodeDescription
200Success.
400Invalid input parameters specified. Check the key and message fields for more details.
401The authentication details provided are invalid.
402Your role does not allow this.
500An error occurred within the server. Check the key and message fields for more details.

Data returned

Status of the fax.

Example: With required parameters

https://www.015pbx.net/local/api/json/faxes/get/?auth_username=user;auth_password=password;id=1579011681_5e1dce61d4c73_59

{ "data" : { "status" : "SUCCESS" }, "responses" : [ { "message" : "OK", "key" : "", "code" : 200 } ] }