Fax.Plus CRM sisteminizden doğrudan faks göndermeyi kolaylaştırır. Salesforce, HubSpot, Zoho veya Pipedrive kullanıyor olun, entegrasyonumuz CRM platformunuzdan ayrılmadan hızlı bir şekilde faks göndermenize ve almanıza yardımcı olur.
Fax.Plus JavaScript, Node.js, Ruby, Python ve Java gibi popüler geliştirme platformlarıyla uyumlu, sağlam ancak kullanımı kolay bir faks API'si sağlar. OAuth 2.0 veya kişisel erişim belirteçleri (PAT'ler) kullanarak kolayca kimlik doğrulaması yapın ve kapsamlı faks yeteneklerini yazılımınıza entegre edin.
Özelleştirilmiş faks çözümleri oluşturmak, RESTful API'leri kullanmak ve Webhooks aracılığıyla gerçek zamanlı bildirimleri entegre etmek için ayrıntılı API dokümanlarımızı kullanın.
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()
faxplus'tan ApiClient, OutboxApi, OutboxComment, RetryOptions , OutboxOptions, OutboxCoverPage, PayloadOutbox'ı içe aktarın faxplus.configuration'dan Configuration'ı içe aktarın outbox_comment = OutboxComment(etiketler=[ 'tag1' , 'tag2' ], metin= 'metin yorumu' ) yeniden_deneme_seçenekleri = Yeniden_deneme_seçenekleri(sayı= 2 , gecikme= 15 ) yeniden_deneme_seçenekleri = OutboxOptions(geliştirme= Doğru , yeniden_deneme_seçenekleri) outbox_cover_page = OutboxCoverPage() payload_outbox = PayloadOutbox( kaynak = '+12345667' , hedef=[ '+12345688' , '+12345699' ], dosyalar=[ 'filetosend.pdf' ], yorum=çıkış_yorumu, seçenekler=çıkış_seçenekleri, gönderme_zamanı= '2000-01-01 01:02:03 +0000' , dönüş_kimlikleri= Doğru , cover_page=outbox_cover_page) conf = Configuration() conf.access_token = access_token # header_name ve header_value yalnızca OAuth2 belirteç şemasını kullanırken gereklidir
api_client = ApiClient(başlık_adı= 'x-fax-clientid' , başlık_değeri=istemci_id, yapılandırma=conf) api = OutboxApi(api_client) resp = api.send_fax( kullanıcı_kimliği= '13d8z73c' , gövde=çıkan_yük_kutusu )
<?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)
// ...
}
Ayrıca bağlanabilirsiniz Fax.Plus Zapier aracılığıyla yüzlerce başka uygulamaya bağlanarak faks iş akışlarınızda daha fazla otomasyon ve esneklik sağlayın.
Kod yazmadan tekrarlayan görevleri otomatikleştirin.
Özelleştirilmiş iş akışları oluşturarak zaman kazanın.
Zaten kullandığınız 5,000'den fazla uygulamayı bağlayın.
Temel özellikler için sonsuza dek ücretsiz. Premium özellikler için 14 günlük ücretsiz deneme.
Kesintisiz faks çözümümüzün işinize nasıl yardımcı olabileceğini görmek ister misiniz?
Bir demo planlayın ve temsilcilerimizden biri sizinle özelleştirilmiş bir gösterim için iletişime geçecektir.