openapi: 3.0.0 info: title: LeanData BookIt 🗓️ Availability 🗓️ Availability One Time Routing API description: Programmatic scheduling, availability lookup, and meeting management for the LeanData BookIt scheduling product. Power custom UIs with server-to-server access to availability, round-robin, and meeting CRUD. version: 1.0.0 servers: - url: https://api.leandata.com tags: - name: One Time Routing description: '

This section describes the endpoints used to trigger 1x Routing for creating a custom orchestration experience, as well as to retrieve the status of the resulting job. When invoked, the 1x Routing endpoint returns basic job metadata—including the jobId—which can be used to check the job’s status.

❗️ Important: The API does not validate FlowBuilder graphs before triggering routing. If you invoke 1x Routing to an invalid or misconfigured graph, the request will still be processed—but routing will fail silently. No error response will be returned from the API.
âś… To avoid unexpected behavior, please ensure the graph is valid and functioning as expected within the LeanData application before using it in API-triggered routing.

' paths: /orchestration/v1/one-time-routing: post: tags: - One Time Routing summary: orchestration/v1/one-time-routing description: '

Endpoint: POST https://api.leandata.com/orchestration/v1/one-time-routing

❗️ Important: The API does not validate FlowBuilder graphs before triggering routing. If you invoke 1x Routing to an invalid or misconfigured graph, the request will still be processed—but routing will fail silently. No error response will be returned from the API.
âś… To avoid unexpected behavior, please ensure the graph is valid and functioning as expected within the LeanData application before using it in API-triggered routing.

Headers


Request Body Parameters

Response Body Parameters

The response is a JSON string containing a result object, which provides details about the initiated one-time routing job:

' requestBody: content: application/json: schema: type: object example: objectType: Lead condition: Id = '00Q5f000006KnPbEAK' graphName: Lead Routing Q2 2025 notificationsDisabled: false nodeType: Trigger edgeName: Lead is MQL allowDedupe: true respectSchedules: true responses: '200': description: Successful response content: application/json: {} /orchestration/v1/one-time-routing/:jobId: get: tags: - One Time Routing summary: orchestration/v1/one-time-routing/:jobId description: '

Endpoint: GET https://api.leandata.com/orchestration/v1/one-time-routing/:jobId

This endpoint is used to obtain the status of a One-Time Routing job.

đź’ˇ The :jobId path parameter should be replaced with the unique ID of the One-Time Routing job you want to read.

Headers


Request Body Parameters

' responses: '200': description: Successful response content: application/json: {}