Skip to main content

Using the Official SDKs

90 viewsUpdated March 9, 2026By Onbrix Team
sdkjavascriptpythondeveloper

Official SDKs

Onbrix provides official SDKs in 7 programming languages.

Available SDKs

Download from Settings > Developer > SDKs tab:

  • JavaScript (Node.js 18+ / Browsers)
  • Python (3.8+)
  • PHP (8.0+)
  • Ruby (3.0+)
  • Go (1.21+)
  • C# (.NET 6+)
  • Java (11+)
  • JavaScript Example

    const OnbrixSDK = require("./onbrix-sdk");
    

    const crm = new OnbrixSDK({

    apiKey: "crm_your_api_key",

    baseUrl: "https://app.onbrix.org/api/v1",

    });

    // List contacts

    const contacts = await crm.list("contacts", {

    page: 1,

    pageSize: 25,

    search: "jane",

    });

    // Create a contact

    const newContact = await crm.create("contacts", {

    first_name: "Jane",

    last_name: "Doe",

    email: "jane@example.com",

    });

    // Update a contact

    await crm.update("contacts", newContact.id, {

    phone: "+1234567890",

    });

    Python Example

    from onbrix_sdk import OnbrixSDK
    

    crm = OnbrixSDK(

    api_key="crm_your_api_key",

    base_url="https://app.onbrix.org/api/v1"

    )

    List leads

    leads = crm.list("leads", page=1, page_size=25)

    Create a lead

    new_lead = crm.create("leads", {

    "first_name": "John",

    "company": "Acme Inc",

    "source": "Website"

    })

    SDK Features

    All SDKs include:

  • Authentication: Automatic API key header injection
  • CRUD Operations: List, Get, Create, Update, Delete
  • Auto-Pagination: Helper to iterate through all pages
  • Error Handling: Typed errors with status codes
  • Rate Limit Retry: Automatic retry on 429 responses
  • Webhook Verification: Helper to verify HMAC signatures