Skip to main content
GET
/
v2
/
bookings
/
{bookingUid}
/
routing-trace
Get the routing trace for a booking
curl --request GET \
  --url https://api.cal.com/v2/bookings/{bookingUid}/routing-trace \
  --header 'Authorization: <authorization>' \
  --header 'cal-api-version: <cal-api-version>'
{
  "status": "success",
  "data": {
    "steps": [
      {
        "message": "Account found by website match: acme.com",
        "round": "Exact Match",
        "domain": "salesforce",
        "step": "account_found_by_website",
        "timestamp": 1717000000000,
        "data": {}
      }
    ],
    "groups": [
      {
        "round": "Exact Match",
        "domain": "salesforce",
        "steps": [
          {
            "message": "Account found by website match: acme.com",
            "round": "Exact Match",
            "domain": "salesforce",
            "step": "account_found_by_website",
            "timestamp": 1717000000000,
            "data": {}
          }
        ]
      }
    ],
    "formSubmission": {
      "form": {
        "name": "Sales Routing Form",
        "description": "Routes leads to the right sales rep"
      },
      "responses": [
        {
          "fieldId": "Company Size",
          "label": "Company Size",
          "displayValue": "Enterprise (1000+)"
        }
      ]
    }
  }
}

Headers

cal-api-version
string
required

Must be set to 2024-08-13 or later.

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Path Parameters

bookingUid
string
required

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required