01
Overview
The Carvikon REST API connects your platform to a shop: read its board, cars, customers and schedule, create leads and cars, move cars between stages, book appointments, record payments, and get webhooks when things change.
| Value | |
|---|---|
| Base URL | https://www.carvikon.com/api/v1 |
| Format | JSON in and out, UTF-8. Send Content-Type: application/json on POST and PATCH. |
| Auth | A bearer API key the shop creates in Carvikon |
| Version | Every response carries carvikon-api-version: 2026-11-30 |
| Plan | Shops on the Elite plan |
02
Get an API key
The shop creates the key in Carvikon and gives it to you. It takes about a minute.
- The shop's owner or a manager opens Settings → Integrations → REST API.
- They press Create API key, name it after your platform, and pick its access: Read, Change (also changes things inside Carvikon) or Send (also messages customers, after a confirmation step). They can add areas beyond the day-to-day shop, such as estimates or documents, and choose how long it lasts (30 days, 90 days, 1 year).
- They copy the key. It starts with
cvk_pat_and is shown only once.
Send it on every request:
Authorization: Bearer cvk_pat_<your key>The key acts as the person who created it. It sees what they see in Carvikon and can do only what their role allows. One key covers one shop account. The shop sees every call in its activity log and can revoke the key on the same card at any time.
Keep the key on your server, never in a browser, a mobile app or a public repository. The API sends no CORS headers: it is for server-to-server calls.
OAuth instead of a pasted key. To let shops click “Connect Carvikon” inside your product, use OAuth 2.1 with PKCE. Discovery is at https://www.carvikon.com/.well-known/oauth-authorization-server, with dynamic client registration. The access token works with this API the same way.
03
First calls
# Who am I? Shop, locations, time zone, role, what the key may do
curl https://www.carvikon.com/api/v1 \
-H "Authorization: Bearer $CARVIKON_KEY"
# Boards and their stages (stage ids are what you move cars to)
curl https://www.carvikon.com/api/v1/boards \
-H "Authorization: Bearer $CARVIKON_KEY"
# Create a lead
curl -X POST https://www.carvikon.com/api/v1/leads \
-H "Authorization: Bearer $CARVIKON_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Jane Doe","phone":"+15555550123","vehicle":"2022 Tesla Model 3","note":"From our booking form"}'Response
{
"ok": true,
"data": {
"created": true,
"customer_id": "65d5da73-4e8c-42e1-a697-5c88f015c875",
"url": "https://www.carvikon.com/crm?lead=65d5da73-4e8c-42e1-a697-5c88f015c875"
}
}Most results include a url: a link that opens the record in Carvikon.
04
Responses and errors
A success is { "ok": true, "data": { … } }. An error is { "ok": false, "error": "<code>", "message": "…" }; invalid input adds issues, one per field.
| HTTP | error | Meaning |
|---|---|---|
| 200 | Done | |
| 400 | invalid_request, invalid_json | The body or query does not fit; issues names each field. Unknown fields are refused by name, never ignored. |
| 401 | unauthorized | Key missing, wrong, expired or revoked. Ask the shop for a new key. |
| 401 | reconnect_needed | The person behind the key signed out everywhere or changed their password. Ask for a new key. |
| 403 | needs_plan | The shop is not on Elite. |
| 403 | switched_off, role_not_allowed | The owner switched access off, or does not allow this person's role. |
| 404 | unknown_tool | That action is not available to this key (not in its areas, or not for this shop's trade). |
| 409 | already_done | A confirm_token was used twice. It was done once. |
| 410 | undo_expired | The 10-minute undo window has passed. |
| 422 | refused | Carvikon would not do it; message says why (an unknown stage, a customer who opted out of texts). |
| 428 | needs_confirmation | It would reach a customer. See Messages ask first. |
| 429 | rate_limited, daily_limit | Too many calls. Wait for Retry-After. |
| 500 | server_error | Our fault. Nothing was changed. |
| 503 | unavailable | Temporary. Retry after Retry-After seconds. |
Money: amounts you send are in dollars ("amount": 500 is $500.00). Amounts in payment and balance results are in cents ("paid": 50000 is $500.00).
Times: send ISO 8601 with the shop's offset (2026-12-03T09:30:00-05:00); GET /api/v1 returns the shop's time_zone. Dates are YYYY-MM-DD.
05
Endpoints
GET endpoints take their filters as query parameters; POST and PATCH take a JSON body.
| Endpoint | Does |
|---|---|
| GET /api/v1 | Who the key acts as: shop, locations, time zone, role, access, areas |
| GET /api/v1/tools | Every action this key can use, with its JSON Schema. ?area=cars filters. |
| GET /api/v1/tools/{name} | One action and its schema |
| POST /api/v1/tools/{name} | Run any action (see Every other action) |
| POST /api/v1/undo | Take back a change from the last 10 minutes: { "undo_token": "…" } |
| GET /api/v1/changes?since= | What changed since a time or the last cursor. For polling. |
| GET /api/v1/boards | Boards with their stages (id, name) |
| GET /api/v1/boards/{id} | The cars on one board, by stage |
| GET /api/v1/cars | Find cars: text (make, model or job number), stage (name), status (open, overdue, due_this_week, ready_for_pickup, delivered, finished) |
| POST /api/v1/cars | Add a car (example below) |
| GET /api/v1/cars/{id} | One car |
| PATCH /api/v1/cars/{id} | Edit year, make, model, vin, plate, job_number, arrived_date, insurance_company, estimate_amount, labor_amount, labor_hours, parts_amount, sublet_amount, invoice_total. null clears a field. |
| POST /api/v1/cars/{id}/move | Move to a stage: { "stage_id": "…" } |
| GET /api/v1/cars/{id}/payments | Payments, balance and what is still owed |
| POST /api/v1/cars/{id}/payments | Record a payment taken outside Carvikon: amount, method (cash, check, card_terminal, bank_transfer, insurance_check, other), note |
| GET /api/v1/customers | Find customers: text (name, phone or email), status, created_within_days |
| PATCH /api/v1/customers/{id} | Update name, phone, email, vehicle, source, follow_up_date, notify_by_text, notify_by_email |
| POST /api/v1/leads | Create a lead: name (required), phone, email, vehicle, note |
| GET /api/v1/appointments | Upcoming appointments: range = today or week |
| POST /api/v1/appointments | Book one: starts_at (required), duration_minutes, customer_id or customer, vehicle fields. Overlaps are refused unless allow_overlap is true. |
| GET /api/v1/conversations | Customer conversations by text and email: unread_only, limit |
Add a car
POST /api/v1/cars
{
"year": 2021,
"make": "BMW",
"model": "M3",
"vin": "WBS33AY09MFL12345",
"customer": { "name": "Jane Doe", "phone": "+15555550123", "email": "jane@example.com" },
"stage": "Consult & Quote"
}Give customer_id for an existing customer or customer for a new one. Give stage_id, or stage by name; leave both out for the board's check-in column. A shop with several locations also takes location_id. GET /api/v1/tools/add_car lists every field.
06
Every other action
Everything the API can do (about 190 actions for a typical shop) runs at POST /api/v1/tools/{name}, with the action's input as the JSON body.
curl -X POST https://www.carvikon.com/api/v1/tools/get_revenue_report \
-H "Authorization: Bearer $CARVIKON_KEY" \
-H "Content-Type: application/json" \
-d '{"period":"last_month"}'GET /api/v1/tools describes each one:
{
"name": "create_lead",
"title": "Create a lead",
"description": "…",
"area": "leads",
"kind": "write",
"scope": "shop:write",
"method": "POST",
"path": "/api/v1/tools/create_lead",
"input_schema": { "type": "object", "properties": { "name": { "type": "string" } }, "required": ["name"] }
}kind is read, write (changes something inside Carvikon), outward (reaches a customer, so it always asks first) or approval (files a request the owner approves in Carvikon). The list depends on the key's access, its areas and the shop's trade: read it from the API rather than hard-coding it.
| Area | Example actions |
|---|---|
| board | list_boards, get_board, find_stuck_cars, production_calendar |
| cars | add_car, get_car, edit_car, move_car_to_board, mark_car_delivered, set_car_customer, add_sublet, get_vehicle_history |
| customers | find_customers, update_customer, tag_customer, find_declined_work |
| leads | create_lead, set_lead_status, add_lead_note, convert_lead_to_car |
| schedule | list_appointments, book_appointment, reschedule_appointment, check_bay_availability, shop_load |
| messages | list_conversations, get_conversation, send_text, send_email, send_estimate, send_invoice, send_review_request |
| payments | get_car_balances, list_unpaid, record_payment, request_payment, request_deposit |
| estimates | get_estimate, add_estimate_service, add_estimate_line, get_estimate_link, invoice_approved_work, list_price_book |
| reports | get_overview, get_shop_report, get_revenue_report, get_technician_report, get_marketing_report, get_car_profit |
| notifications | list_notifications, get_changes_since, watch |
| team | list_team, who_is_clocked_in, get_team_schedule |
Report actions take a period: today, yesterday, this_week, last_week, this_month, last_month, this_quarter, last_quarter, this_year, last_year, last_7_days, last_30_days or last_90_days.
07
Messages ask first
A call that would text or email a customer does not run on the first request. That covers sending a text, an estimate or an invoice, and a stage move that triggers the shop's automatic “your car is ready” message. It answers 428 with what would happen:
{
"ok": false,
"error": "needs_confirmation",
"will": ["Texts Jane Doe (••••0123): \"Your car is ready for pickup\""],
"confirm_token": "cfm_eyJ…"
}Show will to the shop's person. If they agree, send the same request again with confirm_token added to the body. The token lasts 5 minutes and works once, so a retry never sends twice. If your integration messages customers with no person in the loop, agree that with the shop first and confirm in code. Messaging needs a key with Send access; customers who replied STOP are never texted.
08
Undo and approvals
A change inside Carvikon returns an undo_token, good for 10 minutes:
{ "ok": true, "data": { "moved": true, "car_id": "…", "undo_token": "und_eyJ…", "undo_expires_in_seconds": 600 } }POST /api/v1/undo with { "undo_token": "…" } takes it back. Undo never overwrites a change someone else has made since.
Refunds, voids, deletes, team changes and plan changes never happen straight from the API. Their actions (request_refund, request_delete_car and others) file a request the shop's owner approves in Carvikon; follow it with get_approval_status.
09
Limits
| Limit | Value |
|---|---|
| Calls per key | 120 per minute |
| Customer messages per key | 50 per day |
| Customer messages per shop | 100 per day, all connections |
| Approval requests per key | 20 per hour |
| Longest call | 180 seconds (reading an estimate PDF can take a minute) |
Over a limit you get 429 with a Retry-After header.
10
Webhooks
Instead of polling, the shop can have Carvikon POST events to your URL. In Settings → Integrations → Webhooks they add your https:// address and the events you want; Carvikon shows a signing secret (whsec_…) once. Up to 10 endpoints per shop. Send test delivers a webhook.test event.
| Group | Events |
|---|---|
| Cars | car.created, car.moved, car.delivered, appointment.booked, appointment.changed, appointment.cancelled |
| Money | estimate.approved, estimate.declined, payment.received, payment.refunded |
| Customers | lead.created, message.received, call.completed, document.signed, post.published |
| Notifications | notification.<kind>: the shop's in-app notifications (car overdue, parts arrived and others) |
15 shop events, plus the notifications. A car.moved body:
{
"id": "b1946ac9-2d8f-4a5e-8f1c-4b0e6c1d7a20",
"type": "car.moved",
"timestamp": "2026-11-30T21:44:15.107Z",
"shop_id": "7c7a415a-e5e5-49e6-95ff-f933f0e5469e",
"data": {
"car": {
"id": "27168dd7-…",
"number": "1012",
"vehicle": "2021 BMW M3",
"plate": "API123",
"customer": { "id": "60ba15a6-…", "name": "Jane Doe" },
"stage": { "id": "2f589fd7-…", "name": "Design & Proof" },
"board": { "id": "fe82bc72-…", "name": "Install Board" }
},
"from_stage": { "id": "3f6ad616-…", "name": "Consult & Quote" },
"to_stage": { "id": "2f589fd7-…", "name": "Design & Proof" },
"url": "https://www.carvikon.com/board?job=27168dd7-…"
}
}Bodies carry ids and names, never message text, phone numbers or emails. Fetch details with the API when you need them.
Signature. Every delivery is signed in the Standard Webhooks format: webhook-id (the event's UUID, the same on every retry), webhook-timestamp (seconds) and webhook-signature (v1, + base64 HMAC-SHA256). The key is the base64-decoded part of the secret after whsec_; the signed text is {webhook-id}.{webhook-timestamp}.{raw body}. Reject timestamps more than 5 minutes old.
Node.js
import crypto from "node:crypto";
function verify(secret, headers, rawBody) {
const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
const id = headers["webhook-id"], ts = headers["webhook-timestamp"];
if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const expected = "v1," + crypto.createHmac("sha256", key).update(`${id}.${ts}.${rawBody}`).digest("base64");
return headers["webhook-signature"].split(" ").some((sig) =>
sig.length === expected.length && crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected)));
}Python
import base64, hashlib, hmac, time
def verify(secret, headers, raw_body: bytes) -> bool:
key = base64.b64decode(secret.removeprefix("whsec_"))
msg_id, ts = headers["webhook-id"], headers["webhook-timestamp"]
if abs(time.time() - int(ts)) > 300:
return False
signed = f"{msg_id}.{ts}.".encode() + raw_body
expected = "v1," + base64.b64encode(hmac.new(key, signed, hashlib.sha256).digest()).decode()
return any(hmac.compare_digest(s, expected) for s in headers["webhook-signature"].split(" "))Delivery. Answer any 2xx within 10 seconds; redirects are not followed. Failures are retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, then every 12 hours, for up to 3 days. An endpoint that accepts nothing for 3 days is switched off and the shop sees it in Settings. Events can arrive twice or out of order: dedupe on webhook-id, order by timestamp.
11
A typical integration
- The shop creates an API key (Send access if you will message customers) and a webhook to your URL.
- On setup, call
GET /api/v1andGET /api/v1/boards; store the shop id, time zone and stage ids. - Push work in with
POST /api/v1/leadsorPOST /api/v1/cars, and appointments withPOST /api/v1/appointments. - Stay in sync from webhooks, or poll
GET /api/v1/changes?since=<cursor>. - Write back with
POST /api/v1/cars/{id}/move,PATCH /api/v1/cars/{id}andPOST /api/v1/cars/{id}/payments.
The same key also works with Carvikon's MCP server for AI assistants; see the Connected AI guide.