Fax.Plus는 JavaScript, Node.js, Ruby, Python 및 Java와 같은 널리 사용되는 개발 플랫폼과 호환되는 강력하면서도 사용하기 쉬운 팩스 API를 제공합니다. OAuth 2.0 또는 개인 액세스 토큰(PAT)을 사용하여 쉽게 인증하고 포괄적인 팩스 기능을 소프트웨어에 통합할 수 있습니다.
자세한 API 문서를 활용하여 사용자 정의된 팩스 솔루션을 만들고, RESTful API를 활용하고, Webhooks를 통해 실시간 알림을 통합하세요.
1const axios = require('axios');
2const OutboxApiFp = require('@alohi/faxplus-api').OutboxApiFp;
3const Configuration = require('@alohi/faxplus-api').Configuration;
4
5const config = new Configuration({
6 accessToken: accessToken,
7 basePath: 'https://restapi.fax.plus/v3',
8 // Header required only when using the OAuth2 token scheme
9 baseOptions: {
10 headers: {
11 "x-fax-clientid": clientId,
12 }
13 }
14});
15
16async function sendFax() {
17 const reqParams = {
18 "userId": '13d8z73c',
19 "payloadOutbox": {
20 "comment": {
21 "tags": [
22 "tag1",
23 "tag2"
24 ],
25 "text": "text comment"
26 },
27 "files": [
28 "filetosend.pdf"
29 ],
30 "from": "+12345667",
31 "options": {
32 "enhancement": true,
33 "retry": {
34 "count": 2,
35 "delay": 15
36 }
37 },
38 "send_time": "2000-01-01 01:02:03 +0000",
39 "to": [
40 "+12345688",
41 "+12345699"
42 ],
43 "return_ids": true
44 }
45 }
46 const req = await OutboxApiFp(config).sendFax(reqParams);
47 const resp = await req(axios);
48}
49
50sendFax()
from faxplus import ApiClient, OutboxApi, OutboxComment, RetryOptions, OutboxOptions, OutboxCoverPage, PayloadOutbox
from faxplus.configuration import Configuration
outbox_comment = OutboxComment(tags=['tag1', 'tag2'],
text='text comment')
retry_options = RetryOptions(count=2, delay=15)
outbox_options = OutboxOptions(enhancement=True, retry=retry_options)
outbox_cover_page = OutboxCoverPage()
payload_outbox = PayloadOutbox(from='+12345667',
to=['+12345688', '+12345699'],
files=['filetosend.pdf'],
comment=outbox_comment,
options=outbox_options,
send_time='2000-01-01 01:02:03 +0000',
return_ids=True,
cover_page=outbox_cover_page)
conf = Configuration()
conf.access_token = access_token
# header_name and header_value required only when using the OAuth2 token scheme
api_client = ApiClient(header_name='x-fax-clientid', header_value=client_id, configuration=conf)
api = OutboxApi(api_client)
resp = api.send_fax(
user_id='13d8z73c',
body=payload_outbox
)
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
'Authorization' => 'Bearer {access-token}',
// The x-fax-clientid header is required only when using the OAuth2 token scheme
'x-fax-clientid' => '{client ID}',
);
$client = new GuzzleHttp\Client();
// Define array of request body.
$request_body = ...; // See request body example
try {
$response = $client->request('POST','https://restapi.fax.plus/v3/accounts/{user_id}/outbox', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
// The x-fax-clientid header is required only when using the OAuth2 token scheme
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
"x-fax-clientid": []string{"YOUR CLIENT_ID"}
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://restapi.fax.plus/v3/accounts/{user_id}/outbox", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Zapier를 통해 Fax.Plus를 수백 개의 다른 애플리케이션에 연결하여 팩스 워크플로에서 훨씬 더 큰 자동화와 유연성을 실현할 수도 있습니다.
코드를 작성하지 않고 반복적인 작업을 자동화하세요.
맞춤형 워크플로를 구축하여 시간을 절약하세요.
이미 사용하고 있는 5,000개 이상의 앱을 연결하세요.
핵심 기능은 영원히 무료입니다. Premium 기능은 14일 무료 평가판을 이용할 수 있습니다.
당사의 최첨단 팩스 솔루션이 귀사의 Business에 어떻게 도움이 되는지 알고 싶으십니까?
데모를 예약하시면 당사 담당자가 맞춤형 데모를 위해 귀하에게 연락할 것입니다.