Skip to content

API reference

The documented surface below is Lynqu’s stability contract: these endpoint groups keep their request/response shapes, and breaking changes ship as a new API version. Endpoints you may discover outside this list are internal and can change without notice. Don’t build on them.

An OpenAPI 3 specification of this surface is published alongside these docs and regenerated on every backend release.

All organization-scoped groups live under /b2b/organizations/{organization}/… and require an organization role that can see the resource in the app.

Digital card CRUD, templates and palettes, card statistics, vCard download. Cards you own or manage; publish state and visibility rules are enforced server-side.

Contacts. /contacts, /b2b/organizations/{org}/contacts

Section titled “Contacts. /contacts, /b2b/organizations/{org}/contacts”

Personal saved connections and the organization address book: create, search, tag, annotate.

The sales pipeline: list and filter leads, read the activity timeline, create and update leads, move pipeline stages, assign owners, manage contact points (tasks), duplicates, and lead documents. Reads and writes follow your role and department scope exactly as in the app.

The leads list takes segment_id to return the leads of one segment (see Segments below).

Segments · /b2b/organizations/{org}/segments

Section titled “Segments · /b2b/organizations/{org}/segments”

Read-only. GET lists the organization’s lead segments in their report order. Use a segment’s id as segment_id on the leads list. Stable fields: id, name, color, description, position, lead_count (the leads your key’s user can see) and updated_at. definition describes the conditions for information only; its shape can change between releases, and definition_version changes when it does. Creating, editing, ordering and deleting segments happen in the app, not through the API.

Receivables · /b2b/organizations/{org}/receivables/import

Section titled “Receivables · /b2b/organizations/{org}/receivables/import”

Import only. PUT pushes invoices from your finance system onto the accounts (companies) they belong to, so reps see who owes money before they visit. Send receivables, an array of up to 500 rows. Each row is keyed on external_ref, your invoice id, which is unique per organization: sending a known external_ref updates that invoice, and a new one creates it.

  • Name the account with company_id, or with company.domain / company.name. An account that does not exist is reported, never created. A company_id from before a company merge still finds the merged account.
  • Fields: amount, currency (ISO 4217, any letter case), due_date, paid_at and note. A new invoice needs amount, currency, due_date and an account. A field you leave out keeps its value, so settling an invoice is sending its external_ref with paid_at. Invoices you don’t send are left alone.
  • Each row stands on its own. The response counts created, updated, unchanged and failed, and lists every row by index with its status, plus an error code for a failed row: invalid (with errors), company_not_found, missing_fields (with fields) or conflict (another push created the same invoice at the same moment; send it again).
  • Your key’s user needs permission to manage companies. Limit: 30 calls a minute. Reading and editing receivables one by one happen in the app.

Campaigns · /b2b/organizations/{org}/campaigns

Section titled “Campaigns · /b2b/organizations/{org}/campaigns”

Campaigns, goals, members, capture-form stats, and lead attachment.

Time-bound or open-ended events with a four-state lifecycle (draft → active → archived → closed), optionally rolled up to a campaign.

Departments & users. /b2b/organizations/{org}/departments, …/users

Section titled “Departments & users. /b2b/organizations/{org}/departments, …/users”

Org structure and membership: departments (nested), member roles and status, invites.

Key management. Session-token only. API keys cannot manage API keys (see Authentication).

  • Pagination: list endpoints accept page and per_page (per_page is capped, typically at 100). Responses carry Laravel-style pagination metadata inside data.
  • Localization: Accept-Language controls human-readable messages only.

If you need an endpoint that isn’t part of the stable surface yet, ask at lynqu.com/support, expanding the documented surface is a product decision, and demand moves it.