Cal.com Bookings / Routing Trace API

The Bookings / Routing Trace API from Cal.com — 1 operation(s) for bookings / routing trace.

Operations 1

GET /v2/bookings/{bookingUid}/routing-trace Get the routing trace for a booking #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cal-com:cal-com-bookings-routing-trace-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cal-com-bookings-routing-trace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cal.com API v2 Bookings / Routing Trace API
  description: ''
  version: 1.0.0
  contact: {}
servers: []
tags:
- name: Bookings / Routing Trace
paths:
  /v2/bookings/{bookingUid}/routing-trace:
    get:
      description: 'Retrieve the step-by-step routing trace for a booking identified by its UID. Shows how the booking was routed through routing forms, CRM lookups, and host selection logic.


        Returns presented (human-readable) trace steps grouped by routing round, along with the routing form submission if one was used.


        If no routing trace exists for the booking, empty steps and groups are returned.


        The cal-api-version header is required for this endpoint.


        If accessed using an OAuth access token, the `BOOKING_READ` scope is required.'
      operationId: BookingRoutingTraceController_2024_08_13_getBookingRoutingTrace
      parameters:
      - name: cal-api-version
        in: header
        description: Must be set to `2024-08-13` or later.
        required: true
        schema:
          type: string
          example: '2024-08-13'
      - name: bookingUid
        required: true
        in: path
        schema:
          type: string
      - name: Authorization
        in: header
        description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_, managed user access token, or OAuth access token
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBookingRoutingTraceOutput_2024_08_13'
      summary: Get the routing trace for a booking
      tags:
      - Bookings / Routing Trace
      x-mcp:
        name: get_booking_routing_trace
        guidance: Get the routing trace for a booking — the step-by-step decision path showing how the booking was routed (routing form evaluation, CRM lookups, host selection). Returns human-readable steps grouped by round, plus the routing form submission answers. Only available for bookings that completed routing (permanent traces). Use get_bookings to find booking UIDs.
      x-oauth-scopes:
      - BOOKING_READ
components:
  schemas:
    RoutingTraceFormSubmissionOutput_2024_08_13:
      type: object
      properties:
        form:
          $ref: '#/components/schemas/RoutingTraceFormOutput_2024_08_13'
        responses:
          type: array
          items:
            $ref: '#/components/schemas/RoutingTraceFormResponseOutput_2024_08_13'
      required:
      - form
      - responses
    RoutingTraceFormResponseOutput_2024_08_13:
      type: object
      properties:
        fieldId:
          type: string
          example: Company Size
        label:
          type: string
          example: Company Size
        displayValue:
          type: string
          example: Enterprise (1000+)
      required:
      - fieldId
      - label
      - displayValue
    RoutingTraceDataOutput_2024_08_13:
      type: object
      properties:
        steps:
          type: array
          items:
            $ref: '#/components/schemas/RoutingTraceStepOutput_2024_08_13'
        groups:
          type: array
          items:
            $ref: '#/components/schemas/RoutingTraceGroupOutput_2024_08_13'
        formSubmission:
          type:
          - object
          - 'null'
          allOf:
          - $ref: '#/components/schemas/RoutingTraceFormSubmissionOutput_2024_08_13'
      required:
      - steps
      - groups
    RoutingTraceGroupOutput_2024_08_13:
      type: object
      properties:
        round:
          type: string
          example: Exact Match
        domain:
          type: string
          example: salesforce
        steps:
          type: array
          items:
            $ref: '#/components/schemas/RoutingTraceStepOutput_2024_08_13'
      required:
      - round
      - domain
      - steps
    RoutingTraceStepOutput_2024_08_13:
      type: object
      properties:
        message:
          type: string
          example: 'Account found by website match: acme.com'
        round:
          type: string
          example: Exact Match
        domain:
          type: string
          example: salesforce
        step:
          type: string
          example: account_found_by_website
        timestamp:
          type: number
          example: 1717000000000
        data:
          type: object
          additionalProperties: true
          description: Step-specific data payload
      required:
      - message
      - round
      - domain
      - step
      - timestamp
      - data
    RoutingTraceFormOutput_2024_08_13:
      type: object
      properties:
        name:
          type: string
          example: Sales Routing Form
        description:
          type:
          - string
          - 'null'
          example: Routes leads to the right sales rep
      required:
      - name
    GetBookingRoutingTraceOutput_2024_08_13:
      type: object
      properties:
        status:
          enum:
          - success
          - error
          type: string
          example: success
        data:
          $ref: '#/components/schemas/RoutingTraceDataOutput_2024_08_13'
      required:
      - status
      - data
x-provenance:
  method: harvested
  publisher: Cal.com
  source: https://cal.com/docs/api-reference/v2/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)