Skip to content

Sent Faxes

{
"destination_number": "123-456-7890",
"id": "12345",
"resendable": true,
"status": "OK",
"status_display_string": "Delivered",
"sender": {
"id": "123456"
},
"patient": {
"id": "987654"
},
}

Sent Faxes are SentFax objects.

You can view the full list of available fields here.

query sentFaxes(
$keywords: String
$order_by: SentFaxOrderKeys
$sort_by: String
$offset: Int
$page_size: Int
$after: Cursor
) {
sentFaxes(
keywords: $keywords
order_by: $order_by
sort_by: $sort_by
offset: $offset
page_size: $page_size
after: $after
) {
created_at
cursor
destination_number
id
parsed_form_answer_group_ids
patient
resendable
sender
status
status_display_string
updated_at
}
}

Listing Sent Faxes is done via the sentFaxes query.

You can view a full list of potential arguments here.

InputInfo
order_byOptional. Valid options can be found here. NOTE: sort_by is deprecated; should use order_by instead.
keywordsOptional. Keywords to search by.

Returns a list of SentFax objects.

query sentFax($id: ID!) {
sentFax(id: $id) {
created_at
cursor
destination_number
id
parsed_form_answer_group_ids
patient
resendable
sender
status
status_display_string
updated_at
}
}

To search for a particular Sent Fax by ID, the sentFax query can be used. Returns a singular SentFax object.

mutation CreateSentFax {
createSentFax(
input: {
date: null
destination_number: null
answer_ids: null
dietitian: { id: null }
}
) {
messages {
message
field
}
sent_fax {
created_at
cursor
destination_number
id
parsed_form_answer_group_ids
resendable
status
status_display_string
updated_at
}
}
}

You can view a full list of potential inputs here.

InputInfo
dietitianRequired. The sender associated with the sentFax; and the provider’s user ID must be provided. More information on this input can be found here
document_idOptional. The ID of a document sent as a fax.
patient_idOptional. ID of the patient associated with the sentFax.

Returns a createSentFaxPayload object.