User Interface Service API
Overview
The FaxAgent User Interface Service API enables integrated applications to securely launch FaxAgent web user interfaces
using a Single Sign-On (SSO)-style experience.
Applications can open FaxAgent interfaces in separate browser windows or embed them within their platforms using iFrames or browser controls.
- Single HTTP endpoint for all UI launches
- Encrypted auto-logon credential support
- Secure HTTPS transmission
Service Invocation
The FaxAgent UI is launched through a single endpoint:
https://faxagent.example.com/XFaxUi/
Example:
https://faxagent.example.com/XFaxUi/?XM=APPDASHBOARD
- Supports HTTP GET and POST
- Parameters can be passed via query string or form-urlencoded body
Service URL Parameters
| Name |
Format |
Required |
Description |
| XM |
string |
Yes |
UI to launch (e.g. APPDASHBOARD) |
| TenantId |
string |
Yes |
Unique tenant identifier |
| XSC |
string |
Yes |
Security context |
| XST |
string |
Yes |
Encrypted security token |
| XUT |
string |
Yes |
Encrypted user token |
URL Example
https://faxagent.example.com/XFaxUi/?DM=APPDASHBOARD
&TenantId=YOUR_TENANT_ID
&XSC=axui
&XST=ENCRYPTED_SECURITY_TOKEN
&XUT=ENCRYPTED_USER_TOKEN
User Token (XUT)
The User Token allows automatic login by passing encrypted user credentials.
Required Fields
| Field | Description |
| UserName | Login name |
| Email | User email address |
JSON Example
{
"UserName":"admin",
"Email":"noreply@gmail.com"
}
XML Example
<UserToken>
<UserName>admin</UserName>
<Email>noreply@gmail.com</Email>
</UserToken>
Security Token (XST)
The Security Token validates the calling application.
Required Fields
| Field | Description |
| Context | Must match XSC |
| AppId | Application identifier |
| GenDT | UTC timestamp |
| Client | Client IP Reference (optional) |
JSON Example
{
"Context": "axui",
"AppId": "MyApp",
"GenDT": "2026-03-01T10:32:56Z",
"Client": "127.0.0.1"
}
XML Example
<SecurityToken>
<Context>fax</Context>
<AppId>MyApp</AppId>
<GenDate>2026-03-01T10:32:56Z</GenDate>
<Client>127.0.0.1</Client>
</SecurityToken>
Token Encryption
Both XUT and XST must be:
- AES encrypted (Rijndael algorithm)
- Base64 encoded
Recommended Settings
| Setting | Value |
| Key Size | 256 |
| Cipher Mode | CBC |
| Padding | PKCS7 |
Security Considerations
- Use HTTPS for all requests
- Require security tokens in production
- Keep encryption keys synchronized between systems
- Implement token expiration (recommended: 15 minutes)
Validation Options
| Option | Description |
| Remote IP ACL |
Restrict allowed calling IPs |
| Token Expire Time |
Defines token validity period |