1. Webhooks
Repairy Partner API
  • Welcome 👋
  • Get Started
  • HTTP Headers
  • Authorization
  • Workshops
  • Bookings
  • Quotes
  • Service Reminder
  • Data Reporting
  • Booking URL
  • Error Codes
  • Technical Support
  • Changelog
  • Additional Services
  • Service Catalog
  • APIs
    • Authorization
      • Access Token
      • Refresh Token
    • Workshops
      • Availabilities
      • Service Catalog
    • Bookings
      • Booking Request with Service Catalog (beta)
      • Booking Request
      • Booking Information
      • Update Booking Information
      • Update Booking Status
    • Quotes
      • Quote Request
    • Service Reminder
      • Service Reminder Notification
      • Service Reminder Information
    • Data Reporting
      • Partner Report
    • Leads
      • Call Lead
    • Messaging
      • Send Message
      • List of Templates
    • Campaigns
      • Trigger Automation
      • Blast List
      • Trigger Blast
      • Find Blast
    • Webhooks
      • Call History Webhook
        POST
  • Data Structures
    • AuthResponse
    • Availability
    • CustomAvailability
    • Car
    • Customer
    • Booking
    • BookingUpdateRequest
    • BookingStatusUpdateConfig
    • Quote
    • ServiceHistory
    • ServiceReminder
    • WebhookRequest
    • ServiceCatalog
    • CallLead
  • Webhook
    • Booking events
    • Call history
  • Schemas
    • Schemas
      • WebhookRequest
      • ServiceSelection
      • ServiceCatalogItem
      • CallLead
      • Booking
      • BookingUpdateRequest
      • Customer
      • Car
      • Availability
      • CustomAvailability
      • AuthResponse
      • Quote
      • ServiceHistory
      • ServiceReminder
      • BookingStatusUpdateConfig
  1. Webhooks

Call History Webhook

Cloud Mock
https://mock.apidog.com/m1/839892-0-default
Cloud Mock
https://mock.apidog.com/m1/839892-0-default
POST
/api/webhooks/calls/{shopId}

Call history webhook (inbound)#

Your phone system pushes each finished call to Repairy. Calls show on the shop's Calls page under your system's name.
Setup lives in the dashboard: Settings → Integration → Webhooks → Call history (URL, secret, setup guide, received calls).

Auth#

Send the shop secret in x-webhook-secret, or as Authorization: Bearer <secret>.

Behaviour#

One call object, or { "calls": [ ... ] } with up to 100 calls.
Send one request per finished call. ringing / in-progress are rejected with 400.
Sending the same callId again updates that call (no second SMS).
Only an inbound missed call (status missed or voicemail) can trigger the missed-call SMS, and only when the shop turned it on and Missed call follow-up is on in Call handling.
When the shop also has a Repairy line (Carrier) or Chloe, a webhook call is linked to an existing call with the same customer number and direction that started within 2 minutes. Details are merged; no second call and no extra SMS.

Call types#

There is no type field. Repairy derives it from direction and status.
Calldirectionstatus
Inbound answeredinboundanswered
Inbound missedinboundmissed, voicemail
Outbound answeredoutboundanswered
Outbound unreachedoutboundno-answer, busy, failed, canceled

Matching#

Customer: by phone (from for inbound, to for outbound).
Staff: answeredBy matched to shop users by email, then phone, then name (only if exactly one match). Without a match the name you sent still shows.

Transcripts#

There is no summary field. Repairy writes the summary and action items, and scores the call when Call scoring is on. If you send no transcript but send recordingUrl, Repairy transcribes it when Call recording is on.
provider values twilio and cleverize are reserved. Default display name is "Phone system".

Request

Path Params

Header Params

Body Params application/jsonRequired

Example
{
    "callId": "88219",
    "provider": "Your phone system",
    "direction": "inbound",
    "status": "answered",
    "from": "+61412345381",
    "to": "+61359750000",
    "startedAt": "2026-11-09T10:47:02+11:00",
    "endedAt": "2026-11-09T10:50:22+11:00",
    "duration": 192,
    "answeredBy": {
        "name": "Mia",
        "email": "mia@shop.com.au"
    },
    "recordingUrl": "https://provider.example/rec/88219.mp3",
    "transcript": [
        {
            "role": "staff",
            "message": "Hi, Mia speaking.",
            "secondsFromStart": 0
        },
        {
            "role": "customer",
            "message": "Can I book an alignment?",
            "secondsFromStart": 4
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://mock.apidog.com/m1/839892-0-default/api/webhooks/calls/' \
--header 'x-webhook-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "callId": "88219",
    "provider": "Your phone system",
    "direction": "inbound",
    "status": "answered",
    "from": "+61412345381",
    "to": "+61359750000",
    "startedAt": "2026-11-09T10:47:02+11:00",
    "endedAt": "2026-11-09T10:50:22+11:00",
    "duration": 192,
    "answeredBy": {
        "name": "Mia",
        "email": "mia@shop.com.au"
    },
    "recordingUrl": "https://provider.example/rec/88219.mp3",
    "transcript": [
        {
            "role": "staff",
            "message": "Hi, Mia speaking.",
            "secondsFromStart": 0
        },
        {
            "role": "customer",
            "message": "Can I book an alignment?",
            "secondsFromStart": 4
        }
    ]
}'

Responses

🟢200Updated or linked
application/json
Calls updated, linked, or logged as test / Dev mode
Bodyapplication/json

Example
{
    "success": true,
    "devMode": true,
    "results": [
        {}
    ]
}
🟢201Created
🟠400Validation error
🟠401Unauthorized
Modified at 2026-11-11 02:12:33
Previous
Find Blast
Next
AuthResponse
Built with