Native integration with a dedicated PBL

Fidelius provides a PowerBuilder-specific library (PBL) designed to simplify the integration of messaging features into your PB applications. The provided nvo_Fidelius object encapsulates all API logic, so you can send messages, track delivery, and handle user interactions in just a few lines of code — no need to manually handle HTTP requests or JSON.

Send SMS, WhatsApp, and Emails from your PB app

  • Send transactional messages via SMS, WhatsApp, or Email directly from your application.
  • Access delivery status (queued, delivered, read, failed).
  • Receive and reply to WhatsApp messages via integrated chat.
  • Use InfoPages to allow user confirmation, cancellation, or form submission from a single link.

No REST expertise required

The Fidelius PBL handles all the low-level API operations, so PowerBuilder developers don’t need to worry about:

  • JSON formatting
  • Authentication headers
  • HTTP request/response handling
  • Manual endpoint management

FAQ – PowerBuilder Integration

What versions of PowerBuilder are compatible?

Fidelius is compatible with modern PowerBuilder versions, including PB 2019, 2021, 2022 and 2025. It works with both PowerClient and PowerServer deployments.

Do I need to manage REST calls manually?

No. The provided PBL (nvo_Fidelius) handles all REST communication internally. You don’t need to deal with JSON, headers, or HTTP requests directly.

Can I track message status from PowerBuilder?

Yes. You can use the PBL to retrieve the status of a message (e.g., sent, delivered, read) via methods like of_GetMessageStatus()

Can I receive user interactions in PowerBuilder (e.g., confirmation clicks)?

Yes. When users click on links in InfoPages (confirm, cancel, etc.), the status is updated and can be retrieved from your PowerBuilder app via the API.

How do I store API credentials securely in PB?

In the demo, API keys are loaded from an .INI file at runtime and passed to the nvo_Fidelius object. You can adapt this for your own security model.

PowerBuilder Sample Integration Code

nvo_Fidelius ln_fidelius
ln_fidelius = CREATE nvo_Fidelius

// Initialization with API keys
ln_fidelius.of_SetPartnerKey("PARTNER_API_KEY")
ln_fidelius.of_SetClientKey("CLIENT_API_KEY")
ln_fidelius.of_SetServerURL("https://api.fidelius.cloud")

// Sending a WhatsApp message
longlong lll_message_id
integer li_status
string ls_error

li_status = ln_fidelius.of_PostMessage("WhatsApp", &
    "Your appointment is scheduled for October 31 at 6:00 PM."+&
" Click the link to confirm {{LINK}}", "+33612345678", true, &
"Appointment 31/10/2025 - 6:00 PM",&
"", lll_message_id, ls_error)
IF li_status = 201 and lll_message_id > 0 THEN
    MessageBox("Success", "Message sent with ID: " + string(lll_message_id))
ELSE
    MessageBox("Error", "Message not sent. Status: " + string(li_status))
END IF

Ready to enhance your PowerBuilder application with messaging?

Integrate SMS, WhatsApp, and Email in just a few lines of code using our dedicated PBL.