API reference
The ReviewWheel API lets your job software tell ReviewWheel when a job is done. ReviewWheel then sends that customer a review request.
- Base URL:
https://api.reviewwheel.com - Format: JSON request and response bodies.
- OpenAPI 3.1: reviewwheel.com/openapi.json
Give this to your agent
Your agent follows our setup skill. You create the API key and keep it out of the chat.
Install and set up https://reviewwheel.com/skill.md Get an API key
An owner or an admin creates the key in the app, on the
Webhook connection page.
The key starts with rwk_live_. The app shows it one time, so store it in a
secret store or an environment variable.
| Kind | Scope | locationId on each job |
|---|---|---|
| Account key | Every location on the account | Required |
| Location key | One location | Not needed |
Before the first account key, the owner confirms that they have consent to message their customers. Only the owner can give that confirmation.
Authenticate
Send the key in the Authorization header on every request:
Authorization: Bearer rwk_live_... The API answers only while the account has an active plan or trial.
Endpoints
GET /api/v1/ping
Checks the key. Zapier uses this call to test a connection.
curl https://api.reviewwheel.com/api/v1/ping \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY" {
"ok": true,
"keyName": "Office key",
"kind": "company",
"companyName": "Example Plumbing",
"locationName": null
} kind is company for an account key and location for a
location key. locationName is set only for a location key.
GET /api/v1/locations
Lists the locations the key can send jobs to. An account key lists the account's locations, sorted by name. A location key lists its one location.
curl https://api.reviewwheel.com/api/v1/locations \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY" [
{
"id": "<location id>",
"name": "Example Plumbing",
"city": "Atlanta",
"state": "GA",
"status": "live"
}
]
Use an id from this list as locationId. city and
state are null when the location has none.
POST /api/v1/job-completed
Reports a finished job. ReviewWheel saves the customer as a contact and starts the location's review request sequence.
This call can text or email a real customer. Send only finished jobs, and only for customers who agreed to hear from the business.
# Prints the JSON body. On an error it holds "code" and "error".
curl -sS -X POST https://api.reviewwheel.com/api/v1/job-completed \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: job-10482" \
-d '{
"locationId": "<location id>",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+14045550123",
"email": "[email protected]",
"jobType": "Water heater install",
"completedAt": "2026-10-28T15:00:00Z"
}' // Node 18 or later, as an ES module (job.mjs).
const res = await fetch("https://api.reviewwheel.com/api/v1/job-completed", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REVIEWWHEEL_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": "job-10482",
},
body: JSON.stringify({
locationId: "<location id>",
firstName: "Jane",
lastName: "Doe",
phone: "+14045550123",
email: "[email protected]",
jobType: "Water heater install",
completedAt: "2026-10-28T15:00:00Z",
}),
});
const body = await res.json();
if (res.status !== 200) {
console.error(`${res.status} ${body.code}: ${body.error}`);
} else {
console.log(body);
} # pip install requests
import os
import requests
res = requests.post(
"https://api.reviewwheel.com/api/v1/job-completed",
headers={
"Authorization": f"Bearer {os.environ['REVIEWWHEEL_API_KEY']}",
"Idempotency-Key": "job-10482",
},
json={
"locationId": "<location id>",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+14045550123",
"email": "[email protected]",
"jobType": "Water heater install",
"completedAt": "2026-10-28T15:00:00Z",
},
timeout=30,
)
body = res.json()
if res.status_code != 200:
print(f"{res.status_code} {body['code']}: {body['error']}")
else:
print(body) | Field | Type | Rule |
|---|---|---|
locationId | string | Required with an account key. Ignored with a location key. |
phone | string | Send phone, email or both. At least one must be usable. |
email | string | See phone. |
firstName, lastName | string | Optional. |
address | string | Optional. The job's street address. |
jobType | string | Optional. |
completedAt | ISO 8601 string or epoch number | Optional. When the job was done. |
A success returns 200:
{
"ok": true,
"contactId": "<contact id>",
"enrolled": true,
"held": null
} warnings: present when ReviewWheel dropped a phone or email it could not use. The contact still saves with the other channel.held: "paused": the account paused requests. The job saves and waits.deduped: true: thisIdempotency-Keywas already used. Nothing new happened.stale: truewithenrolled: false: the job is too old for a review request.
Deduplication
Send an Idempotency-Key header with a stable value for each job, for example
your job ID. If you retry the same job with the same value, ReviewWheel does not create it
again.
An account key checks the value across the whole account. A location key checks it within its one location. A blank header counts as no header.
Errors
Every error body has the same three fields. error is one sentence for a person
to read. The errors below are grouped by what you do next.
{
"ok": false,
"code": "location-unknown",
"error": "That location is not on this ReviewWheel account."
} Fix the key
| Status | code | What to do |
|---|---|---|
| 401 | invalid-key | The key is wrong, revoked or missing. Check it or create a new one. Do not retry with the same key. |
Pick or renew a plan
| Status | code | What to do |
|---|---|---|
| 403 | no-plan | The account has no active plan. The owner picks a plan in the app. |
| 403 | service-ineligible | That location has no active plan. |
Ask the owner
| Status | code | What to do |
|---|---|---|
| 403 | consent-required | The owner must confirm in the app that they have consent to message their customers. |
| 409 | source-conflict | Another job source is connected for that location. The owner disconnects it in the app first. |
Fix the request
| Status | code | What to do |
|---|---|---|
| 400 | invalid-body | Send a JSON object. |
| 404 | location-unknown | locationId is not on this account. Call /api/v1/locations. |
| 422 | invalid-field | Fix the field that error names. |
| 422 | location-required | An account key needs locationId on each job. |
| 422 | no-contact | Send a usable phone or email. |
| 403 | source-blocked | completedAt is missing, or it is earlier than the location’s last job source change. Send completedAt for jobs finished after that change. |
Wait and retry
| Status | code | What to do |
|---|---|---|
| 429 | rate-limited | Wait the number of seconds in Retry-After, then retry. |
| 503 | provider-state-changed | Try again later. |
| 503 | no-template | Try again later. |
Zapier
The ReviewWheel Zapier app needs no API key. You connect it by signing in to ReviewWheel.
Its Send Review Request action calls POST /api/v1/job-completed. See
ReviewWheel on Zapier.
To deduplicate in Zapier, map both Deduplication Source and Deduplication Key, or neither.
The action sends them as Idempotency-Key: <source>:<key>, with the
source URL-encoded, so jobs from two systems cannot collide.
What the API cannot do
The API cannot create an account, add a location, change a plan, take a payment, read or reply to reviews, or change a Google Business Profile. The owner does these things in the app.
Revoke a key
The owner revokes a key on the same Webhook connection page. A 401 on a key
that worked before means the key is revoked. Create a new key and replace the old one.
Help
- Support: [email protected]
- Terms of Service, Privacy Policy and Acceptable Use Policy
The API reference as markdown, for your agent: reviewwheel.com/auth.md
# auth.md
You are an agent that helps a home service business owner use ReviewWheel. This file tells you how the owner signs up, how the owner gives you a credential, and how to call the ReviewWheel API with that credential.
This file is https://reviewwheel.com/auth.md. For what ReviewWheel does, read https://reviewwheel.com/llms.txt. The API reference is https://reviewwheel.com/api, and its OpenAPI 3.1 description is https://reviewwheel.com/openapi.json. The setup steps as an Agent Skill are at https://reviewwheel.com/skill.md.
Three hosts are relevant:
- **Marketing site:** `https://reviewwheel.com`. Plans, terms and privacy.
- **App:** `https://app.reviewwheel.com`. The owner signs up, signs in and manages the account here.
- **API:** `https://api.reviewwheel.com`. The resource server for `/api/v1`.
## Current state
ReviewWheel does not support agent registration today. You cannot create an account, a credential or a payment for the owner. The owner signs up in the browser and creates an API key. Then you use that key.
Do not call `/agent/identity`, `/oauth2/token` or any other registration endpoint on a ReviewWheel host. They do not exist. When ReviewWheel adds agent registration, this file changes first.
## Step 1: The owner signs up
Give the owner this link: `https://app.reviewwheel.com/start`
The owner must do these things in the browser. You cannot do them for the owner:
- Sign up with an email code or with Google.
- Connect Google and pick the business's Google Business Profile. Every ReviewWheel account connects Google.
- Pick a plan and pay. Stripe takes the payment.
The order of the screens depends on the plan. Let the app lead the owner.
To help the owner choose a plan, read these pages:
- More Jobs Bundle: `https://reviewwheel.com/more-jobs`
- Reputation plans: `https://reviewwheel.com/reputation`
- Rank: `https://reviewwheel.com/rank`
- Website: `https://reviewwheel.com/website`
- Ads: `https://reviewwheel.com/ads`
Read prices from those pages when you need them. Do not repeat a price from memory or from an earlier session.
If the owner already has an account, they sign in at `https://app.reviewwheel.com/sign-in`.
## Step 2: The owner creates an API key
The only credential is a ReviewWheel API key. It starts with `rwk_live_`. An owner or an admin creates it on the Webhook connection page:
`https://app.reviewwheel.com/app/connections/webhook`
There are two kinds of key:
| Kind | Scope | `locationId` on each job |
| --- | --- | --- |
| Account key | Every location on the account | Required |
| Location key | One location | Not needed |
Before the first account key, the owner confirms that they have consent to message their customers. Only the owner can give that confirmation. Do not give it for them.
The app shows the key one time. Tell the owner to put it in a secret store or an environment variable, for example `REVIEWWHEEL_API_KEY`. Do not ask the owner to paste the key into the conversation.
Look for the key in this order. Stop at the first one that exists:
1. `REVIEWWHEEL_API_KEY` in your process environment.
2. A project `.env` file that the owner told you to read.
If neither exists, tell the owner to create a key on the page above, set it, and then resume the task.
Do not log the key. Do not show it to the owner. Do not put it in commit messages, error reports or screenshots. In a shell command, use the environment variable, not the value.
## Step 3: Call the API
Send the key as a bearer token. Bodies are JSON. The API answers only while the account has an active plan or trial.
### Check the key
```bash
curl https://api.reviewwheel.com/api/v1/ping \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY"
```
```json
{"ok":true,"keyName":"Agent","kind":"company","companyName":"Example Plumbing","locationName":null}
```
`kind` is `company` for an account key and `location` for a location key.
### List locations
```bash
curl https://api.reviewwheel.com/api/v1/locations \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY"
```
```json
[{"id":"<location id>","name":"Example Plumbing","city":"Atlanta","state":"GA","status":"live"}]
```
Use an `id` from this list as `locationId`.
### Report a completed job
**Warning:** this call can send a review request by text or email to a real customer. Use it only when the owner tells you to, only for a job that is done, and only for a customer who agreed to hear from the business.
```bash
curl -X POST https://api.reviewwheel.com/api/v1/job-completed \
-H "Authorization: Bearer $REVIEWWHEEL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: job-10482" \
-d '{
"locationId": "<location id>",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+14045550123",
"email": "[email protected]",
"jobType": "Water heater install",
"completedAt": "2026-10-28T15:00:00Z"
}'
```
| Field | Type | Rule |
| --- | --- | --- |
| `locationId` | string | Required with an account key. Ignored with a location key. |
| `phone` | string | Send `phone`, `email` or both. At least one must be usable. |
| `email` | string | See `phone`. |
| `firstName`, `lastName` | string | Optional. |
| `address` | string | Optional. The job's street address. |
| `jobType` | string | Optional. |
| `completedAt` | ISO 8601 string or epoch number | Optional. When the job was done. |
Send an `Idempotency-Key` header with a stable value for each job, for example your job ID. If you retry the same job with the same key, ReviewWheel does not create it again.
A success looks like this:
```json
{"ok":true,"contactId":"<contact id>","enrolled":true,"held":null}
```
- `warnings`: present when ReviewWheel dropped a phone or email it could not use. The contact still saves with the other channel.
- `held: "paused"`: the account paused requests. The job saves and waits.
- `deduped: true`: this `Idempotency-Key` was already used. Nothing new happened.
- `stale: true` with `enrolled: false`: the job is too old for a review request.
### Errors
Every error body is `{"ok":false,"code":"<code>","error":"<one sentence>"}`. The errors are grouped by what you do next. Each code has its own anchor on the reference page: `https://reviewwheel.com/api#error-<code>`.
**Fix the key**
| Status | `code` | What to do |
| --- | --- | --- |
| 401 | `invalid-key` | The key is wrong, revoked or missing. Ask the owner to check it or create a new one. Do not retry with the same key. |
**Pick or renew a plan**
| Status | `code` | What to do |
| --- | --- | --- |
| 403 | `no-plan` | The account has no active plan. The owner picks a plan in the app. |
| 403 | `service-ineligible` | That location has no active plan. |
**Ask the owner**
| Status | `code` | What to do |
| --- | --- | --- |
| 403 | `consent-required` | The owner must confirm in the app that they have consent to message their customers. |
| 409 | `source-conflict` | Another job source is connected for that location. The owner disconnects it in the app first. |
**Fix the request**
| Status | `code` | What to do |
| --- | --- | --- |
| 400 | `invalid-body` | Send a JSON object. |
| 404 | `location-unknown` | `locationId` is not on this account. Call `/api/v1/locations`. |
| 422 | `invalid-field` | Fix the field that `error` names. |
| 422 | `location-required` | An account key needs `locationId` on each job. |
| 422 | `no-contact` | Send a usable `phone` or `email`. |
| 403 | `source-blocked` | `completedAt` is missing, or it is earlier than the location's last job source change. Send `completedAt` for jobs finished after that change. |
**Wait and retry**
| Status | `code` | What to do |
| --- | --- | --- |
| 429 | `rate-limited` | Wait the number of seconds in `Retry-After`, then retry. |
| 503 | `provider-state-changed` | Try again later. |
| 503 | `no-template` | Try again later. |
## What the API cannot do today
The API cannot create an account, add a location, change a plan, take a payment, read or reply to reviews, or change a Google Business Profile. The owner does these things in the app.
## Revocation
The owner revokes a key on the same Webhook connection page. A `401` on a key that worked before means the key is revoked. Drop it and ask the owner for a new one through the same secret store.
## Help and terms
- Support: `[email protected]`
- Terms: `https://reviewwheel.com/terms`
- Privacy: `https://reviewwheel.com/privacy`
- Acceptable use: `https://reviewwheel.com/acceptable-use`