JSON over HTTPS at https://app.amplevo.com/api/v1. Workspaces, cited pages, listings, quotes, orders, tracked questions, reports and webhooks. The same spec is at /openapi.json.
Keys.amp_live_… for live, amp_test_… for test mode ($1,000 of test funds, simulated publishers, nothing charged). Owners and Admins create them in Settings → Developers. Each key has scopes and its own limits.
Workspaces. Endpoints take an optional workspace_id; without it, the key's first workspace is used. A key can be limited to some brands or clients.
Money is an integer in USD cents: 120000 = $1,200.00. Timestamps are ISO 8601 UTC. IDs are strings; most are prefixed (ws_, pg_, q_, ord_, evt_). A listing id is <page id>.<type>, e.g. pg_011.listicle.
Request IDs. Every response has a Request-Id header. Include it when you contact support.
MCP. The MCP server takes the same keys, sent the same way. OAuth sign-in for MCP clients is coming. See MCP auth.
Errors
Non-2xx responses share one shape. Branch on code, never on message. details carries the numbers or the reason when there are any.
Error · 422
{
"error": {
"code": "over_order_cap",
"message": "Above this key's max per order.",
"details": {
"max_per_order": 100000,
"total": 117600
},
"request_id": "req_vNf7vA1dilJYB9",
"doc_url": "https://amplevo.com/developers/api#errors"
}
}
Error codes
HTTP
code
Meaning
400
invalid_input
Some fields are missing or invalid.
401
unauthorized
Sign in first.
402
insufficient_balance
Not enough available balance.
403
needs_approval
Needs approval by an Admin.
403
forbidden
You don't have access to this.
404
not_found
Not found.
409
invalid_state
This action isn't possible in the order's current state.
422
over_order_cap
Above this key's max per order.
422
over_monthly_cap
Above this key's monthly cap.
422
self_booking
You can't book a site your organisation owns.
422
not_available
This placement is not available.
422
over_workspace_limit
Above this client's monthly spending limit.
429
rate_limited
Too many requests. Try again in a minute.
500
internal_error
Something went wrong on our side. Retry with backoff.
Retry 429 and 5xx with backoff, reusing the same Idempotency-Key. Don't retry over_order_cap or over_monthly_cap: a person has to change the limit.
Pagination
List endpoints are cursor based. Pass limit (1–100, default 25). If has_more is true, call again with cursor=next_cursor. Cursors are opaque; don't build them yourself.
Network calls fail. Agents retry. Idempotency keys make retries safe.
Send an Idempotency-Key header (up to 255 chars; a UUID works). It is required on POST /orders.
Retrying a booking with the same key returns the original status and order, with Idempotent-Replayed: true.
A quote that was already booked with a different key returns 409 invalid_state (details.reason: quote_used).
Generate one key per booking intent, store it with your job, reuse it on every retry. Quotes are single use, so even without a key a quote can't be booked twice.
Versioning
The major version is in the path: /v1. Inside a major version we only add things: new endpoints, optional parameters, response fields, enum values and webhook events. Write clients that ignore unknown fields and handle unknown enum values.
Breaking changes ship in a new major version. The old one keeps working for at least 12 months and returns Deprecation and Sunset headers once a date is set.
Rate limits
Rate limits
Limit
Value
Requests (API and MCP)
60 / minute per key
Tracked questions
5 free, then $0.50 per question a month
Test mode
$1,000 of test funds per organisation
Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset. A 429 adds Retry-After in seconds.
Lock a price for a listing and attach your brief. A quote lasts 15 minutes, is single use, and says up front whether booking it will wait for an Admin.
scope book
MCP tool quote
POST /quotes parameters
Parameter
In
Type
Description
listing_id
body
string · required
The listing to book.
brief
body
object · required
{ target_url, product_name?, sentence?, talking_points[]?, topic?, key_points?, notes? }. What fits depends on the placement type. Sent to the publisher.
question_ids
body
string[]
Tracked questions this placement targets. They are tracked free while it runs.
workspace_id
body
string
A workspace this key can use. Default: the key's first workspace.
Request
curl -X POST "https://app.amplevo.com/api/v1/quotes" \
-H "Authorization: Bearer $AMPLEVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"listing_id":"pg_011.listicle","workspace_id":"ws_ledgerly","brief":{"target_url":"https://ledgerly.example","product_name":"Ledgerly","talking_points":["Month-end close in a day","Built for teams of 1–50"]}}'
fee = 20% of the publisher price (0 on your first placement during early access: fee_waived true).
Quoting never spends money. The key's max per order and monthly cap are checked here too, so an order that would be refused fails early.
Book an order
POST
/orders
Book a quote. Requires an Idempotency-Key header. Within the key's limits: 201, money reserved from your balance, status awaiting_publisher. Above the key's approval amount: 202, status pending_approval and an approval_url for an Admin.
scope book
MCP tool book
Idempotency-Key required
POST /orders parameters
Parameter
In
Type
Description
Idempotency-Key
header
string · required
Unique per booking; reuse it only to retry the same booking. A UUID works.
Add a question to weekly tracking on all four engines. 5 tracked questions per organisation are free; each extra one is $0.50 a month from your balance, like in the app. Questions linked to a placement you booked are tracked free. The first run is the baseline.
scope track
MCP tool track_question
POST /questions parameters
Parameter
In
Type
Description
text
body
string · required
The question, as a buyer would ask it.
workspace_id
body
string
A workspace this key can use. Default: the key's first workspace.
Request
curl -X POST "https://app.amplevo.com/api/v1/questions" \
-H "Authorization: Bearer $AMPLEVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"best payroll software for startups","workspace_id":"ws_northpay"}'
The same states as in the app, for buyers and sellers. Every change fires order.<status>. Money is reserved from your balance at booking and charged at completed. Declines, cancellations and refunds go back to your Amplevo balance.
Order statuses
Status
Meaning
Can move to
Webhook
pending_approval
Above the key's approval amount. Waits for an Owner or Admin in the app. Money reserved.
awaiting_publisher · declined · cancelled
order.pending_approval
awaiting_publisher
Money reserved. The publisher has 3 days to accept, decline or propose another price.
Add one endpoint URL per organisation in Settings → Developers → Webhook. We POST an event object to it. Respond with any 2xx within 10 seconds; anything else is retried after 1, 5, 30, 120 and 720 minutes. Use Send test event to try it, and see the last 20 deliveries there. Delivery is at least once and order isn't guaranteed: deduplicate on id and read the current state with GET /orders/{id} when in doubt.
Webhook events
Event
When
order.<status>
An order changed status, e.g. order.awaiting_publisher, order.verified, order.refunded. One event per status in the order states table. data.object is the order.
tracking.run_completed
The weekly tracking run finished for a workspace.
balance.low
The available balance can't cover next month's tracking.
Each delivery carries Amplevo-Signature: t=<unix seconds>,v1=<hex>. v1 is the HMAC-SHA256 of "<t>.<raw body>" with your endpoint's signing secret. Reject deliveries older than 5 minutes.
import crypto from "node:crypto";
// Use the raw request body, not re-serialised JSON.
export function verifyAmplevo(rawBody: string, header: string, secret: string) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false; // 5 min tolerance
const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(parts.v1 ?? "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
import hashlib, hmac, time
def verify_amplevo(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
t = int(parts.get("t", 0))
if abs(time.time() - t) > 300: # 5 min tolerance
return False
signed = f"{t}.".encode() + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))
Build it. Book it.
Get a test key and wire pages, quotes and orders into your own product or agent.