IOSOR Learn

Processing Just-in-Time Provisioning Webhook Events

Master the real-time lifecycle of inbound channels using IOSOR JIT provisioning webhooks. Automate number assignment and ledger updates for your white-label CPaaS.

Processing Just-in-Time Provisioning Webhook Events.

Understanding the JIT Provisioning Lifecycle

Just-in-Time (JIT) provisioning allows your platform to assign inbound channels dynamically as demand arises. When a user triggers an acquisition request, IOSOR emits a webhook event containing the E.164 number details. This event signals that the channel is ready for immediate attachment to your application logic, such as OTP delivery or SMS routing. By handling these events in real-time, you eliminate the need for manual inventory management, ensuring your infrastructure scales alongside your user base.

Configuring Webhook Endpoints for Scale

To receive JIT events, you must register a secure HTTPS endpoint within the IOSOR console. Ensure your server is prepared to acknowledge receipt with a 200 OK status code within a strict timeout window. If your system fails to respond, the platform will attempt a retry based on the exponential backoff policy. This ensures that your ledger remains synchronized with the actual state of your provisioned assets, preventing discrepancies in billing or channel availability.

Managing Prepaid Balances and Ledger States

IOSOR operates on a prepaid model, requiring a minimum USD 20 prepaid floor to maintain active services. When a JIT event triggers, the system verifies your available balance before finalizing the assignment. If your monthly spend approaches USD 1,000/month, your account may undergo a soft review to ensure service continuity. Always monitor your ledger state to confirm that the MRC for newly provisioned numbers is deducted correctly from your prepaid balance.

Handling E.164 Formatting and DLR Logic

Every JIT webhook payload includes the number in E.164 format. Your application must parse this string to map the channel to the correct user account or service. Once the number is assigned, you can begin processing traffic, including SMS and DLR notifications. If a user sends a STOP command, your system should listen for the corresponding event to update the channel status, ensuring compliance with messaging regulations and preventing unnecessary charges.

Essential Integration Protocols

To maintain a proven integration, you must implement specific security and state management practices. Refer to the following documentation to ensure your implementation adheres to our standards:

Start with IOSOR

Navigate to the Webhooks section of the IOSOR console to configure your HTTPS listener for JIT assignment events. Ensure your server validates webhook signatures and responds with an HTTP 200 OK within the timeout window. Once configured, map the E.164 payload directly to your user routing logic to attach inbound channels dynamically.

IOSOR takeaway

Automating JIT number provisioning via webhooks enables instant channel activation without polling delays. Acknowledging event delivery immediately keeps your integration resilient under high acquisition volume while preserving full auditability of assigned inventory.

Do decouple webhook HTTP acknowledgments from internal application processing to ensure rapid 200 OK responses. Don't process long-running tasks synchronously during the webhook execution window or neglect payload signature verification.

Was this guide helpful?

Related guides