Skip to content

Fax Settings

All operations require authentication.

19 operationsv1/telephony/{billingAccount}
Agent setup

List fax servicesProduction

GET
/1.0/telephony/{billingAccount}/fax

List fax services. Returns the service names of the fax services of the billing account. Get a fax service for its type, offers and notification settings.

Path parameters

billingAccount
required
string

The name of your billingAccount

Response

200string[]successful operation

Example uses billingAccount = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Get a fax serviceProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}

Get a fax service. Returns the fax service: type, offers, description and diagnostic notification settings.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Response

200Faxsuccessful operation
description
string
—
notifications
LineNotificationsOptions

Send notifications about Line's diagnosticReports

offers
read-only
string[]
—
serviceName
read-only
string
—
serviceType
read-only
TypeServiceEnum

All existing types

Valuesaliasline

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "description": "string", "notifications": { "logs": { "email": "string", "frequency": "Never", "sendIfNull": true } }, "offers": [ "string" ], "serviceName": "string", "serviceType": "alias"}

Update a fax serviceProduction

PUT
/1.0/telephony/{billingAccount}/fax/{serviceName}

Update a fax service. Updates the description and the diagnostic notification settings of the fax service.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

description
string
—
notifications
LineNotificationsOptions

Send notifications about Line's diagnosticReports

offers
read-only
string[]
—
serviceName
read-only
string
—
serviceType
read-only
TypeServiceEnum

All existing types

Valuesaliasline

Response

200—successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName} \
  -H "authorization: Bearer $OVH_TOKEN"

List campaignsProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns

List campaigns. Returns the identifiers of the fax campaigns of the service. Get a campaign for its status, dates and counters.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Response

200integer[]successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

Get a campaignProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}

Get a campaign. Returns the campaign: name, reference, status, dates, and the number of faxes sent, successful and failed.

Path parameters

billingAccount
required
string

The name of your billingAccount

id
required
integer

Id of the object

serviceName
required
string
—

Response

200FaxCampaignsuccessful operation
countFailed
read-only
integer

The count of failed faxes in the campaign

countSuccess
read-only
integer

The count of success faxes in the campaign

countTotal
read-only
integer

The total count of faxes in the campaign

dateEnd
read-only
stringdate-time

The end date of the fax campaign

dateStart
read-only
stringdate-time

The start date of the fax campaign

id
read-only
integer

The id of the fax campaign

name
read-only
string

The name of the fax campaign

reference
read-only
string

The reference of the fax campaign

status
read-only
string

The status of the fax campaign

Example uses billingAccount = string, id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "countFailed": 0, "countSuccess": 0, "countTotal": 0, "dateEnd": "2024-01-01T12:00:00Z", "dateStart": "2024-01-01T12:00:00Z", "id": 0, "name": "string", "reference": "string", "status": "string"}

Create a campaignProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns

Create a campaign. Creates a campaign that sends a PDF document to a list of numbers or to the numbers of a document. The campaign is sent manually, automatically or at a scheduled date.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

documentId
required
string

The id of the /me/document pdf you want to send

faxQuality
FaxQualityEnum

The quality of the fax you want to send

Valuesbesthighnormal
name
required
string

The name of the fax campaign

recipientsDocId
string

If recipientsType is set to document, the id of the document containing the recipients phone numbers

recipientsList
phoneNumber[]

If recipientsType is set to list, the list of recipients phone numbers

recipientsType
required
FaxCampaignRecipientsTypeEnum

Method to set the campaign recipient

Valuesdocumentlist
sendDate
stringdate-time

Sending date of the campaign (when sendType is scheduled)

sendType
required
FaxCampaignSendTypeEnum

Sending type of the campaign

Valuesautomaticmanualscheduled

Response

200FaxCampaignsuccessful operation
countFailed
read-only
integer

The count of failed faxes in the campaign

countSuccess
read-only
integer

The count of success faxes in the campaign

countTotal
read-only
integer

The total count of faxes in the campaign

dateEnd
read-only
stringdate-time

The end date of the fax campaign

dateStart
read-only
stringdate-time

The start date of the fax campaign

id
read-only
integer

The id of the fax campaign

name
read-only
string

The name of the fax campaign

reference
read-only
string

The reference of the fax campaign

status
read-only
string

The status of the fax campaign

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "countFailed": 0, "countSuccess": 0, "countTotal": 0, "dateEnd": "2024-01-01T12:00:00Z", "dateStart": "2024-01-01T12:00:00Z", "id": 0, "name": "string", "reference": "string", "status": "string"}

Delete a campaignProduction

DELETE
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}

Delete a campaign. Deletes the fax campaign from the fax service. The campaign no longer appears in the list of campaigns.

Path parameters

billingAccount
required
string

The name of your billingAccount

id
required
integer

Id of the object

serviceName
required
string
—

Response

200—successful operation

Example uses billingAccount = string, id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id} \
  -H "authorization: Bearer $OVH_TOKEN"

Get campaign recipients by statusProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/detail

Get campaign recipients by status. Returns the recipient numbers of the campaign, grouped by status: to do, successful and failed.

Path parameters

billingAccount
required
string

The name of your billingAccount

id
required
integer

Id of the object

serviceName
required
string
—

Response

200FaxCampaignDetailsuccessful operation
failed
phoneNumber[]
—
success
phoneNumber[]
—
todo
phoneNumber[]
—

Example uses billingAccount = string, id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/detail \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "failed": [ "string" ], "success": [ "string" ], "todo": [ "string" ]}

Start a campaignProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/start

Start a campaign. Starts sending the campaign to its recipients. Follow the progress with the success and failure counters of the campaign.

Path parameters

billingAccount
required
string

The name of your billingAccount

id
required
integer

Id of the object

serviceName
required
string
—

Response

200—successful operation

Example uses billingAccount = string, id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/start \
  -H "authorization: Bearer $OVH_TOKEN"

Stop a campaignProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/stop

Stop a campaign. Stops sending the campaign to its recipients. The success and failure counters of the campaign show the faxes sent before the stop.

Path parameters

billingAccount
required
string

The name of your billingAccount

id
required
integer

Id of the object

serviceName
required
string
—

Response

200—successful operation

Example uses billingAccount = string, id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/campaigns/{id}/stop \
  -H "authorization: Bearer $OVH_TOKEN"

Get the screen listsProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists

Get the screen lists. Returns the numbers and logins (TSI) allowed or blocked from sending faxes to the service, and which list is active.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Response

200FaxScreensuccessful operation
blacklistedNumbers
string[]

List of numbers not allowed to send a fax

blacklistedTSI
string[]

List of logins (TSI or ID) not allowed to send a fax

callNumber
read-only
string

Number of the fax service

countryCode
read-only
string

Country code of the fax service

filteringList
read-only
FaxScreenListTypeEnum

Which list is active (blackist, whitelist or none)

Valuesblacklistnowhitelist
serviceName
read-only
string
—
whitelistedNumbers
string[]

List of numbers allowed to send a fax

whitelistedTSI
string[]

List of logins (TSI or ID) allowed to send a fax

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "blacklistedNumbers": [ "string" ], "blacklistedTSI": [ "string" ], "callNumber": "string", "countryCode": "string", "filteringList": "", "serviceName": "string", "whitelistedNumbers": [ "string" ], "whitelistedTSI": [ "string" ]}

Create the screen listsProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists

Create the screen lists. Creates the screen lists of the fax service. The active list is whitelist, blacklist or none.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

blacklistedNumbers
string[]

List of numbers not allowed to send a fax

blacklistedTSI
string[]

List of logins (TSI or ID) not allowed to send a fax

filteringList
FaxScreenListTypeEnum

Which list is active (blackist, whitelist or none)

Valuesblacklistnowhitelist
whitelistedNumbers
string[]

List of numbers allowed to send a fax

whitelistedTSI
string[]

List of logins (TSI or ID) allowed to send a fax

Response

200FaxScreensuccessful operation
blacklistedNumbers
string[]

List of numbers not allowed to send a fax

blacklistedTSI
string[]

List of logins (TSI or ID) not allowed to send a fax

callNumber
read-only
string

Number of the fax service

countryCode
read-only
string

Country code of the fax service

filteringList
read-only
FaxScreenListTypeEnum

Which list is active (blackist, whitelist or none)

Valuesblacklistnowhitelist
serviceName
read-only
string
—
whitelistedNumbers
string[]

List of numbers allowed to send a fax

whitelistedTSI
string[]

List of logins (TSI or ID) allowed to send a fax

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "blacklistedNumbers": [ "string" ], "blacklistedTSI": [ "string" ], "callNumber": "string", "countryCode": "string", "filteringList": "", "serviceName": "string", "whitelistedNumbers": [ "string" ], "whitelistedTSI": [ "string" ]}

Delete the screen listsProduction

DELETE
/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists

Delete the screen lists. Deletes all screen lists of the fax service: allowed and blocked numbers and logins (TSI).

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Response

200—successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists \
  -H "authorization: Bearer $OVH_TOKEN"

Update the screen listsProduction

PUT
/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists

Update the screen lists. Updates the allowed and blocked numbers and logins (TSI). The active list is chosen when the screen lists are created.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

blacklistedNumbers
string[]

List of numbers not allowed to send a fax

blacklistedTSI
string[]

List of logins (TSI or ID) not allowed to send a fax

callNumber
read-only
string

Number of the fax service

countryCode
read-only
string

Country code of the fax service

filteringList
read-only
FaxScreenListTypeEnum

Which list is active (blackist, whitelist or none)

Valuesblacklistnowhitelist
serviceName
read-only
string
—
whitelistedNumbers
string[]

List of numbers allowed to send a fax

whitelistedTSI
string[]

List of logins (TSI or ID) allowed to send a fax

Response

200—successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists \
  -H "authorization: Bearer $OVH_TOKEN"

Reset the screen listsProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists/reset

Reset the screen lists. Empties the selected screen lists: allowed or blocked numbers, allowed or blocked logins.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

blacklistedNumbers
boolean

List of black numbers

blacklistedTSI
boolean

List of black login (TSI or ID)

whitelistedNumbers
boolean

List of white numbers

whitelistedTSI
boolean

List of white login (TSI or ID)

Response

200—successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/screenLists/reset \
  -H "authorization: Bearer $OVH_TOKEN"

Get the settingsProduction

GET
/1.0/telephony/{billingAccount}/fax/{serviceName}/settings

Get the settings. Returns the fax settings: sender, quality, number of sending tries, email delivery and rejection of anonymous faxes.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Response

200FaxPropertiessuccessful operation
callNumber
read-only
string
—
countryCode
read-only
string
—
faxMaxCall
FaxSendingTries

Number of tries when sending a fax

Values123456789
faxQuality
FaxQualityEnum

Available quality for fax documents

Valuesbesthighnormal
faxTagLine
string
—
fromEmail
string
—
fromName
string
—
mailFormat
FaxMailFormatEnum

Format of the notification mail. "html" will include a preview image of the fax

Valueshtmltext
receiver
string
—
redirectionEmail
string[]
—
rejectAnonymous
boolean
—
sender
string
—

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/settings \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "callNumber": "string", "countryCode": "string", "faxMaxCall": 1, "faxQuality": "best", "faxTagLine": "string", "fromEmail": "string", "fromName": "string", "mailFormat": "html", "receiver": "string", "redirectionEmail": [ "string" ], "rejectAnonymous": true, "sender": "string"}

Update the settingsProduction

PUT
/1.0/telephony/{billingAccount}/fax/{serviceName}/settings

Update the settings. Updates the fax settings: sender, receiver, quality, number of sending tries (1 to 9), tag line, email delivery and rejection of anonymous faxes.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

callNumber
read-only
string
—
countryCode
read-only
string
—
faxMaxCall
FaxSendingTries

Number of tries when sending a fax

Values123456789
faxQuality
FaxQualityEnum

Available quality for fax documents

Valuesbesthighnormal
faxTagLine
string
—
fromEmail
string
—
fromName
string
—
mailFormat
FaxMailFormatEnum

Format of the notification mail. "html" will include a preview image of the fax

Valueshtmltext
receiver
string
—
redirectionEmail
string[]
—
rejectAnonymous
boolean
—
sender
string
—

Response

200—successful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/settings \
  -H "authorization: Bearer $OVH_TOKEN"

Change the passwordProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/settings/changePassword

Change the password. Sets a new password for the fax account. Without a password, a random one is generated and returned.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

password
stringpassword

The password, if not specified, a random password will be generated

Response

200stringsuccessful operation

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/settings/changePassword \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
"string"

Send a faxProduction

POST
/1.0/telephony/{billingAccount}/fax/{serviceName}/settings/sendFax

Send a fax. Sends a PDF document from a URL to one or more recipients, now or at a scheduled date. Returns the task that tracks the sending.

Path parameters

billingAccount
required
string

The name of your billingAccount

serviceName
required
string
—

Request body (required)

dateSchedule
stringdate-time

If you want to schedule your fax later, you can specify a date

pdfUrl
required
string

Url of the pdf document you want to send

recipients
required
phoneNumber[]

List of recipients of your fax

Response

200Tasksuccessful operation
action
read-only
string

Action associated with the task

message
read-only
string

Potential failure reason of the task

objectCreated
read-only
string

Object potentially created at the end of the task

serviceType
read-only
string
—
status
read-only
TaskStatusEnum

Status of the task

Valuesdoingdoneerrorpausetodo
taskId
read-only
integer
—

Example uses billingAccount = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/telephony/{billingAccount}/fax/{serviceName}/settings/sendFax \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "action": "string", "message": "string", "objectCreated": "string", "serviceType": "string", "status": "doing", "taskId": 0}