通过无缝集成具有法律约束力的电子签名和安全传真来简化您的工作流程。借助Sign.Plus和Fax.Plus提供的强大、可扩展的解决方案,加速您的开发,从而在您的应用程序中实现更快的部署、更高的效率和更强的自动化能力。
直接从您的应用程序发送符合HIPAA标准的传真或发送用于QES签名的文档,完全符合ESIGN Act、ZertES和eIDAS标准。
使用 Sign.Plus API,通过完全符合 eIDAS 和 ZertES 的具有法律约束力的电子签名功能增强您的应用程序。通过 RESTful 端点和 OAuth 2.0 身份验证,轻松地将无缝文档管理、可定制的签名工作流程和审计跟踪集成到您的应用程序中。无论您是自动化合同审批还是简化协议,Sign.Plus 都能提供开发人员构建安全且可扩展的电子签名解决方案所需的工具。
通过Fax.Plus API将可靠且安全的传真功能集成到您的应用程序中。在全球范围内发送和接收传真,通过Webhooks管理实时通知,并通过T.38纠错和与一级传真合作伙伴的直接连接来自动化传真工作流程。专为开发人员设计,RESTful API、全面的SDK和灵活的协议使其易于构建可扩展、强大的传真解决方案。
Sign.Plus 提供了一个以开发者为中心的电子签名 API,旨在与跨多种编程语言的应用程序无缝集成。利用 RESTful 端点和实时 webhook 集成来自动化文档工作流程、创建可重复使用的模板并高效地管理审计跟踪。详细的 API 文档包括深入的指导、示例请求和最佳实践,以帮助开发人员构建可扩展、合规且可靠的电子签名解决方案。
1const options = {
2 method: 'POST',
3 headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
4 body: '{"name":"<string>","legality_level":"SES","expires_at":123,"comment":"<string>","sandbox":false}'
5};
6
7fetch('https://restapi.sign.plus/v2/envelope', options)
8 .then(response => response.json())
9 .then(response => console.log(response))
10 .catch(err => console.error(err));
import requests
url = "https://restapi.sign.plus/v2/envelope"
payload = {
"name": "<string>",
"legality_level": "SES",
"expires_at": 123,
"comment": "<string>",
"sandbox": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://restapi.sign.plus/v2/envelope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\n \"name\": \"<string>\",\n \"legality_level\": \"SES\",\n \"expires_at\": 123,\n \"comment\": \"<string>\",\n \"sandbox\": false\n}",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://restapi.sign.plus/v2/envelope"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"legality_level\": \"SES\",\n \"expires_at\": 123,\n \"comment\": \"<string>\",\n \"sandbox\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
Fax.Plus强大而易于使用的可编程传真API可在各种开发平台(如Javascript、Node.JS、Ruby、Python和Java)上运行。访问API,使用OAuth 2.0流程或个人访问令牌(PAT)作为初始身份验证流程,并开始将传真功能集成到您的应用程序、软件或系统中。
浏览API文档,以使用RESTful API、Webhook集成等构建高效的传真解决方案。
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)
// ...
}
请求访问我们的沙盒环境,并开始测试您与 Sign.Plus 和 Fax.Plus 的集成——没有风险,只有无缝开发。