You can test API methods on the interactive API browser page and without writing code
Some of the resources described on the page may not be available by default due to the type of application (see Creating and authorizing applications).
Example
In the internal number of the “fax" type, we will add the email addresses to which the fax messages received by this internal number will be sent:
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Set Token","marks":[{"type":"strong"}]},{"type":"text","text":"\"."}]},{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"background":"#f0f0f0"},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{"background":"#f0f0f0"},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{"background":"#f0f0f0"},"content":[{"type":"paragraph","content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"PUT"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"/extension/122/fax/"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"{"},{"type":"hardBreak"},{"type":"text","text":"\"fax_mailto\": \"admin@host.com,user@host.com\""},{"type":"hardBreak"},{"type":"text","text":"}"}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"20ec8c1c-e480-4aa2-af35-0f65acfb6cdc","label":"Interactive API Browser","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"To send requests using the cURL program, set the values of the "},{"type":"text","text":"url ","marks":[{"type":"strong"}]},{"type":"text","text":"and "},{"type":"text","text":"access_token","marks":[{"type":"strong"}]},{"type":"text","text":" variables:"}]},{"type":"paragraph","content":[{"type":"text","text":"export url=\"https://<hostname>/api/ver1.0\"","marks":[{"type":"code"}]},{"type":"text","text":" "},{"type":"hardBreak"},{"type":"text","text":"(where the hostname — is the hostname of the API-server provider of IP-telephony),"}]},{"type":"paragraph","content":[{"type":"text","text":"export access_token=\"8SNsrS0jV35vfmKqKeKtRrHfpbg4UX\"","marks":[{"type":"code"}]},{"type":"text","text":" "},{"type":"hardBreak"},{"type":"text","text":"(the received access token)."}]},{"type":"paragraph","content":[{"type":"text","text":"Send a request:"}]},{"type":"codeBlock","attrs":{"language":"shell"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\"fax_mailto\": \"admin@host.com,user@host.com\"}' \\\n-X PUT ${url}/extension/122/fax/"}]}]},"id":"cf1ca691-a9e9-4519-aa2d-768c661690fb","label":"cURL Program","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[]}]},"id{"type":"7f83108d-a0b0-4a1f-9e24-5af70cede52ctext","labeltext":"In Python3",To send requests in Python, set the values of the variables URL and ACCESS_TOKEN:"}]},{"type":"tab"}] |
System response:
Code Block | ||
---|---|---|
| ||
{
"fax_mailto": "admin@host.com,user@host.com"
} |
Receiving fax messages
It is possible to receive and manage messages received by internal fax numbers.
Description of fields
Parameter
Type
Description
caller_id
string
The number of the sender of the message
client_id
long
Client ID
datetime
string
Date and time when the message was received
destination
string
Number of the message recipient
extension_group_id
long
ID of the internal numbers group. It can have the value 'null' if the internal number does not belong to any of the groups
extension_id
long
Internal number ID
file_size
long
Message file size
uuid
string
Message ID
Example
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"tableparagraph","content":[{"type":"text","text":"URL = \"https://<hostname>/api/ver1.0\"","marks":[{"type":"code"}]},{"type":"hardBreak"},{"type":"text","text":"(where the hostname — is the hostname of the API-server provider of IP-telephony),"}]},{"type":"paragraph","content":[{"type":"text","text":"ACCESS_TOKEN = \"8SNsrS0jV35vfmKqKeKtRrHfpbg4UX\"","marks":[{"type":"code"}]},{"type":"hardBreak"},{"type":"text","text":"(the received access token)."}]},{"type":"codeBlock","attrs":{"isNumberColumnEnabledlanguage":false,"layoutpython":"default"},"content":[{"type":"tableRowtext","contenttext":[{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks"#!/usr/bin/python\n\nimport requests\n\nurl = f'{URL}/extension/122/fax/'\nheaders = {\n 'Authorization': f'Bearer {ACCESS_TOKEN}',\n 'Content-Type': 'application/json'\n}\ndata = '''{\n \"fax_mailto\": \"admin@host.com,user@host.com\"\n}'''\nresponse = requests.put(url, headers=headers, data=data)\nprint(response.text)"}]}]},"id":"7f83108d-a0b0-4a1f-9e24-5af70cede52c","label":"In Python3","type":"tab"}] |
System response:
Code Block | ||
---|---|---|
| ||
{
"fax_mailto": "admin@host.com,user@host.com"
} |
Receiving fax messages
It is possible to receive and manage messages received by internal fax numbers.
Description of fields
Parameter | Type | Description |
---|---|---|
caller_id | string | The number of the sender of the message |
client_id | long | Client ID |
datetime | string | Date and time when the message was received |
destination | string | Number of the message recipient |
extension_group_id | long | ID of the internal numbers group. It can have the value 'null' if the internal number does not belong to any of the groups |
extension_id | long | Internal number ID |
file_size | long | Message file size |
uuid | string | Message ID |
Example
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"GET"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"/extension/122/fax/in/"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":" "}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"a3c2ce1b-5fc8-4147-9a20-3057ce7d16c7","label":"Interactive API Browser","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"shell"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-X GET ${url}/extension/122/fax/in/"}]}]},"id":"02fa83be-0de7-41ee-b6a6-a12a6afcc5df","label":"cURL Program","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"strong"}]}]}]},{"type":"tableHeadercodeBlock","attrs":{},"contentlanguage":[{"type":"paragraph"python"},"content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]#!/usr/bin/python\n\nimport requests\n\nurl = f'{URL}/extension/122/fax/in/'\nheaders = {\n 'Authorization': f'Bearer {ACCESS_TOKEN}'\n}\nresponse = requests.get(url, headers=headers)\nprint(response.text)"}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"GET"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"/extension/122/fax/in/"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":" "}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"a3c2ce1b-5fc8-4147-9a20-3057ce7d16c7","label":"Interactive API Browser","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"shell"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-X GET ${url}/extension/122/fax/in/"}]}]},"id":"02fa83be-0de7-41ee-b6a6-a12a6afcc5df","label":"cURL Program","type":"tab"},id":"9c4fa576-24b8-45d1-bd5b-09116da7bb1f","label":"In Python3","type":"tab"}] |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Sending fax messages
Note |
---|
Content-Type when uploading files When uploading files via the POST method, set the Content-Type header to the multipart/form-data value with the boundary parameter, which contains a sequence of characters separating the parts of the request body. The parameters of the audio file and the file itself are passed as form fields. In all other methods, including updating information about the audio file, you should use the usual Content-Type: application/json and pass the information in JSON format. It is worth noting that in most cases, various libraries for working with web resources generate the request body and the Content-Type header with the boundary parameter automatically. |
Description of the request fields
Parameter | Type | Mandatory | Default value | Description |
---|---|---|---|---|
dst_num | string | yes | The number to send the fax to | |
file | file | yes | A file in tiff or pdfformat . The maximum file size is 10 megabytes |
Example
Sending the faxtest.tif file to the number 1234567
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[]}]},"id":"9c4fa576-24b8-45d1-bd5b-09116da7bb1f","label":"In Python3","type":"tab"}] |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Sending fax messages
Note |
---|
Content-Type when uploading files When uploading files via the POST method, set the Content-Type header to the multipart/form-data value with the boundary parameter, which contains a sequence of characters separating the parts of the request body. The parameters of the audio file and the file itself are passed as form fields. In all other methods, including updating information about the audio file, you should use the usual Content-Type: application/json and pass the information in JSON format. It is worth noting that in most cases, various libraries for working with web resources generate the request body and the Content-Type header with the boundary parameter automatically. |
Description of the request fields
Parameter
Type
Mandatory
Default value
Description
dst_num
string
yes
The number to send the fax to
file
file
yes
A file in tiff or pdfformat . The maximum file size is 10 megabytes
Example
Sending the faxtest.tif file to the number 1234567
Tabs |
---|
[{"content":{"version":1,"type":"doc":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]}]}]},{"type":"tableRow","content":[{"type":"tabletableCell","attrs":{},"isNumberColumnEnabledcontent":false,[{"layouttype":"defaultparagraph"},"content":[{"type":"tableRowtext","contenttext":["POST"}]}]},{"type":"tableHeadertableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"/extension/30/fax/out/"}]}]}]},{"type":"tableHeadertableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource{"},"marks":[{"type":"stronghardBreak"}]}]}]},{"type":"tableHeadertext","attrs":{},"content":[text":"\"dst_num\": \"1234567\","},{"type":"hardBreak"},{"type":"paragraphtext","contenttext":[{"type":"text","text"\"file\": \"faxtest.tif\""},{"type":"DatahardBreak"},{"markstype":[{"type"text","text":"strong}"}]}]}]}]},{"type":"tableRowparagraph","content":[{"type]}]},"id":"tableCelleabe1477-ba7a-4459-b696-5c3dbcf69cf8","attrslabel":{},"content":[{"Interactive API Browser","type":"paragraphtab"},{"content":[{"version":1,"type":"textdoc","text":"POST"}]}]},content":[{"type":"tableCellcodeBlock","attrs":{"language":"shell"},"content":[{"type":"paragraphtext","content":[{"type":"text","text":""text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-H \"Content-Type: application/json\" \\\n-F file=@faxtest.tif \\\n-d '{\"dst_num\": \"1234567\"}' \\\n-X POST ${url}/extension/30/fax/out/"}]}]},{"type"id":"8b42b9c7-dbad-433c-91af-583282594273","label":"tableCellcURL Program","attrstype":{"tab"},{"content":[{"version":1,"type":"paragraphdoc","content":[{"type":"textcodeBlock","textattrs":{"language":"{python"},{"typecontent":"hardBreak"},[{"type":"text","text":"\"dst_num\": \"1234567\","},{"type":"hardBreak"},{"type":"text","text":"\"file\": \"faxtest.tif\""},{"type":"hardBreak"},{"type":"text","text":"}"}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"eabe1477-ba7a-4459-b696-5c3dbcf69cf8#!/usr/bin/python\n\nimport requests\n\nurl = f'{URL}/extension/30/fax/out/'\nheaders = {\n 'Authorization': f'Bearer {ACCESS_TOKEN}',\n 'Content-Type': 'application/json'\n}\nfiles = {'file': open('faxtest.tif', 'rb')}\ndata = '''{'dst_num': '1234567'}'''\nresponse = requests.post(url, files=files, data=data, headers=headers)\nprint(response.text)"}]}]},"id":"786f7956-b197-430f-b8cf-d13d28153dd4","label":"InteractiveIn API BrowserPython3","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"shellhtml"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-H \"Content-Type: application/json\" \\\n-F file=@faxtest.tif \\\n-d '{\"dst_num\": \"1234567\"}' \\\n-X POST ${url}/extension/30/fax/out/"}]}]},"id":"8b42b9c7-dbad-433c-91af-583282594273","label":"cURL Program","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":["text":"Request URL: https://hostname.domain/api/ver1.0/extension/30/fax/out/\nRequest Method: POST\nAuthorization:Bearer token\nContent-Type: multipart/form-data; boundary=----WebKitFormBoundaryuQN99hiRT3XAQXrK\nHost: hostname.domain\n------WebKitFormBoundaryuQN99hiRT3XAQXrK\nContent-Disposition: form-data; name=\"file\"; filename=\"faxtest.tif\"\nContent-Type: image/tiff\n \n \n------WebKitFormBoundaryuQN99hiRT3XAQXrK\nContent-Disposition: form-data; name=\"dst_num\"\n \n1234567\n------WebKitFormBoundaryuQN99hiRT3XAQXrK--"}]}]},"id":"786f7956331a1e19-b1979112-430f4de3-b8cfab70-d13d28153dd48bb3daaa96e7","label":"InHTTP Python3Request","type":"tab"}] |
System response:
Code Block | ||
---|---|---|
| ||
{ datetime: "2016-04-07 20:08:54", dst_num: "1234567", id: 174, status: "ready_to_send" } |
From the point of view of uploading files, sending a fax is the same as adding audio, so you can see examples of requests containing files on the "Sound Files" page.
Getting information about the sending status
To get information about the status of sending a fax message, you need to use the appropriate resource:
to get a list of all fax messages sent from an internal number: GET /extension/{extension_id}/fax/out/
to get information about a specific sent fax message: GET /extension/{extension_id}/fax/out/{message_id}
Example
Request information about a message with id 175 sent from an internal number with id 122:
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"GET"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"/extension/122/fax/out/175"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":" "}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"a20984f1-86b9-42f9-ad2d-7408e38bc3a3","label":"Interactive API Browser","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"shell"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-X GET ${url}/extension/122/fax/out/175"}]}]},"id":"4d1dd4f6-d5d2-4ed0-bfb2-ce288509dc6a","label":"cURL Program","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":["type":"codeBlock","attrs":{"language":"python"},"content":[{"type":"text","text":"#!/usr/bin/python\n\nimport requests\n\nurl = f\"{URL}/extension/122/fax/out/175\"\nheaders = {\n 'Authorization': f'Bearer {ACCESS_TOKEN}'\n}\nresponse = requests.get(url, headers=headers)\nprint(response.text)"}]}]},"id":"9b6de326-5f71-4bad-8f66-6e6989ebb353","label":"In Python3","type":"tab"}] |
System response:
Code Block | ||
---|---|---|
| ||
{ "status": "sent", "dst_num": "1234567", "id": 175, "datetime": "2016-04-11 18:07:53" } |
Description of fields
Parameter | Type | Description |
---|---|---|
datetime | string | Date and time when the fax message was sent |
dst_num | string | The number to which the fax message was sent |
id | long | Fax message ID |
status | string | The status of sending the fax message. See the description below |
Sending status
Status | Description |
---|---|
ready_to_send | The message is queued for sending. You can cancel sending a message with this status |
sending | Message in the process of sending |
failed | Failed to send the message. A message with this status can be sent again or canceled. |
canceled | Sending canceled |
error | A sending error occurred |
Repeat and cancel sending
A message that failed to be sent (the failed status) can be sent again or canceled. You can also cancel sending a message with the ready_to_send status.
To retry sending a message or cancel sending a message, you must make a PUT request to the resource /extension/{extension_id}/fax/out/{message_id}?action={action},where the URL parameter “action" can take the values retry and cancel to retry sending and cancel sending a message, respectively.
Example
We will repeat sending the message with id 175 from the internal number with id 122:
Tabs |
---|
[{"content":{"version":1,"type":"doc","content":[{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Method","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Resource","marks":[{"type":"strong"}]}]}]},{"type":"tableHeader","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"Data","marks":[{"type":"strong"}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"PUT"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"text","text":"/extension/122/fax/out/175?action=retry"}]}]},{"type":"tableCell","attrs":{},"content":[{"type":"paragraph","content":[{"type":"hardBreak"}]}]}]}]},{"type":"paragraph","content":[]}]},"id":"2b076d99-c141-4713-8ce1-189c0aa314ea","label":"Interactive API Browser","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{"language":"shell"},"content":[{"type":"text","text":"curl \\\n-H \"Authorization: Bearer ${access_token}\" \\\n-X PUT ${url}/extension/122/fax/out/175?action=retry"}]}]},"id":"7d07ed31-aa2b-4eee-80bc-9e2d6a114719","label":"cURL Program","type":"tab"},{"content":{"version":1,"type":"doc","content":[{"type":"codeBlock","attrs":{},"content":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[":[{"type":"text","text":"#!/usr/bin/python\n\nimport requests\n\nurl = f\"{URL}/extension/122/fax/out/175?action=retry\"\nheaders = {\n 'Authorization': f'Bearer {ACCESS_TOKEN}'\n}\nresponse = requests.put(url, headers=headers)\nprint(response.text)"}]}]},"id":"c6d07082-d345-4b15-9579-40b7ee3216d7","label":"In Python3","type":"tab"}] |
System response:
Code Block | ||
---|---|---|
| ||
{ "status": "ready_to_send", "dst_num": "123", "id": 175, "datetime": "2016-04-11 18:07:53" } |
Resources of the "Client" section
Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
GET /client/{client_id}/fax/in/ Get a list of incoming fax messages for a client URL Parameters
Request parameters
Response fields
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
GET /client/{client_id}/fax/in/{fax_uuid} Get an incoming fax message file URL Parameters
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
DELETE /client/{client_id}/fax/in/{fax_uuid} Delete an incoming fax message URL Parameters
|
Expand | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
GET /client/{client_id}/fax/out/ Get a list of outgoing fax messages URL Parameters
Request parameters
Response fields
|
Resources of the "Internal numbers group" section
Expand | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
GET /extension_group/{ext_group_id}/fax/in/ Get a list of incoming fax messages for a group of internal numbers URL Parameters
Request parameters
Response fields
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
GET /extension_group/{ext_group_id}/fax/in/{fax_uuid} Get an incoming fax message file URL Parameters
|
Resources of the "Internal number" section
Expand | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
PUT /extension/{extension_id}/fax/ Update the fax configuration URL Parameters
JSON parameters
Response fields
|
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
GET /extension/{extension_id}/fax/ Get the fax configuration URL Parameters
Response fields
|
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
GET /extension/{extension_id}/fax/in/ Get a list of incoming fax messages for an internal number URL Parameters
Request parameters
Response fields
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
GET /extension/{extension_id}/fax/in/{fax_uuid} Get an incoming fax message file URL Parameters
|
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
POST /extension/{extension_id}/fax/out/ Send a fax message URL Parameters
Response fields
|
Expand | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
GET /extension/{extension_id}/fax/out/ Get a list of outgoing fax messages URL Parameters
Request parameters
Response fields
|
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
PUT /extension/{extension_id}/fax/out/{message_id} Repeat or cancel sending a fax message URL Parameters
Request parameters
Response fields
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
GET /extension/{extension_id}/fax/out/{message_id} Get information about an outgoing fax message URL Parameters
Response fields
|