# REST Resource: projects.faxes

## Resource: Fax

The Fax resource.

<div class="highlight"><span class="filename">JSON representation</span><pre><code><span class="p">{</span>
  <span class="s2">&quot;name&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;call&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;to&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;from&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;pageCount&quot;</span><span class="p">: </span><span class="kd">number (</span><a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank"><strong><span class="kd">int32</span></strong></a><span class="kd">)</span><span class="p">,</span>
  <span class="s2">&quot;readyUri&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;uri&quot;</span><span class="p">: </span><span class="kd">string</span><span class="p">,</span>
  <span class="s2">&quot;startTime&quot;</span><span class="p">: </span><span class="kd">string (</span><a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank"><strong><span class="kd">Timestamp</span></strong></a><span class="kd">)</span><span class="p">,</span>
  <span class="s2">&quot;createTime&quot;</span><span class="p">: </span><span class="kd">string (</span><a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank"><strong><span class="kd">Timestamp</span></strong></a><span class="kd">)</span>
<span class="p">}</span></code></pre></div>

Fields | &nbsp;
--|--
<span class="e-code">name</span> | <span class="e-code">string</span><br/>Resource name of the fax. It must match the pattern `projects/*/faxes/*`.
<span class="e-code">call</span> | <span class="e-code">string</span><br/>Output only. The call that the fax was received on.
<span class="e-code">to</span> | <span class="e-code">string</span><br/>Required. The recipient of the call.<br/><br/>For PSTN calls, this is the phone number in +E164 format.<br/><br/>For calls to a SIP domain, this is the URI in the To header, in the format `sip:user-or-number@domain`. 
<span class="e-code">from</span> | <span class="e-code">string</span><br/>Output only. The originator of the call.<br/><br/>For PSTN calls, this is the CLI (Caller ID) in +E164 format. When placing outgoing API calls, this is required.<br/><br/>For calls to a SIP domain, this is the URI in the From header, in the format `sip:user-or-number@domain`.<br/><br/>This field will not be set if the CLI originated from the PSTN and the call came from a private number. 
<span class="e-code">pageCount</span> | <span class="e-code">number (<a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank">int32</a> format)</span><br/>Output only. The number of pages.
<span class="e-code">readyUri</span> | <span class="e-code">string</span><br/>Output only. The URI to send the fax ready webhook to. Must be an absolute URI.
<span class="e-code">uri</span> | <span class="e-code">string</span><br/>Output only. An ephemeral URI that can be used to download the fax. The URI is valid for 60 minutes. Note that this field is only included in the FULL view.
<span class="e-code">startTime</span> | <span class="e-code">string (<a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank">Timestamp</a> format)</span><br/>Output only. The start time of the fax. This is when fax on the call started. Only set when state is SUCCEEDED.
<span class="e-code">createTime</span> | <span class="e-code">string (<a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank">Timestamp</a> format)</span><br/>Output only. The creation time of the fax. This is the time that the fax resource was created.

## Methods

Methods | &nbsp;
--|--
<span class="e-code">[get](/docs/cloud-voice/api-reference/rest/v1beta1/projects.faxes/get/)</span> | <span class="e-code">GET /v1beta1/{name}</span><br/>Retrieves a Fax identified by the supplied resource name.<br/><br/>The caller must have `voice.faxes.get` permission on the project.
<span class="e-code">[list](/docs/cloud-voice/api-reference/rest/v1beta1/projects.faxes/list/)</span> | <span class="e-code">GET /v1beta1/{parent}/faxes</span><br/>Lists the Faxes of the specified project. List returns Faxes sorted by create_time descending.<br/><br/>The caller must have `voice.faxes.list` permission on the project.
<span class="e-code">[delete](/docs/cloud-voice/api-reference/rest/v1beta1/projects.faxes/delete/)</span> | <span class="e-code">DELETE /v1beta1/{name}</span><br/>Deletes a fax.<br/><br/>The caller must have `voice.faxes.delete` permission on the project.

