Outreach API
Send sources to AIclicks outreach, approve every placement, and get live links and prices back by webhook.
The Outreach API lets your platform run AIclicks link outreach for your clients. You send the pages you want your client to appear on. AIclicks qualifies each page, contacts the publisher, negotiates the price and places the link. You approve or decline every placement, and AIclicks sends the results back to you by webhook.
The usual setup is a "Send to outreach" button in your own product. The button calls this API. Your team never has to open the AIclicks dashboard.
How it works
- Create a campaign for each client, with its own budget and price cap. →
POST /api/v1/outreach/campaigns - Add funds to the campaign deposit. AIclicks sends you a Stripe payment link or bank transfer details, unless you agree another way with AIclicks. Each placement is paid from the deposit of its campaign.
- Get and send sources. AIclicks adds the pages it finds for the client every day, as opportunities with
origin: "aiclicks". You can also send URLs that your own team found. →POST /api/v1/outreach/campaigns/{campaign_id}/sources - AIclicks qualifies and contacts the publisher. Each URL is an opportunity with a title, its position in AI answers, the domain rating and an estimated price.
- You approve or decline. When an opportunity needs your decision, its status is
action_neededand you get a webhook. →approve/decline - The link goes live. You get the live URL, the placement date and the final price.
- AIclicks checks citations. For 90 days after the link is live, Get Opportunity shows whether AI answers cite the page and mention the client.
You can read the same data at any time with GET /api/v1/outreach/opportunities, but you do not have to poll. Register a webhook endpoint and AIclicks pushes every change to you.
Objects
| Object | What it is |
|---|---|
| Campaign | One outreach programme for one client domain. It has a budget, a price cap per link, quality rules and a deposit. |
| Source | A URL you send to a campaign. Each accepted source becomes one opportunity. |
| Opportunity | One page where AIclicks tries to place a link. It carries the price, the status and the placement. |
| Transaction | One row in the deposit ledger of a campaign: a top-up, a spend, a refund or an adjustment. |
| Webhook endpoint | A URL on your side that receives outreach events. |
Opportunity status
| Status | action_required | Meaning |
|---|---|---|
processing | false | AIclicks checks the page: quality rules, competitor rules and duplicates. |
outreached | false | AIclicks is in contact with the publisher and negotiates the price. |
action_needed | true | The publisher sent a price. You must approve or decline the placement. |
approved | false | You approved. AIclicks closes the deal and the publisher places the link. |
completed | false | The link is live. placement.live_url and placement.placed_at are set. |
declined | false | You or the publisher declined. declined_by says who: client or publisher. Nothing is charged. You can reconsider your own declines. |
processing ──▶ outreached ──▶ action_needed ──▶ approved ──▶ completed
│ │ │
▼ ▼ ▼
declined declined declined
action_required is the simple flag for your UI: true means "needs approval", false means "no action needed".
AIclicks never places a link without your approval when the campaign uses approval_mode: "all" (the default). AIclicks does not offer a page that you declined to you again in that campaign, unless you reconsider it.
Money
- All amounts are integers in the minor unit of the campaign currency (
centsforUSD).15000means$150.00. - Each campaign has its own deposit. AIclicks credits it when your payment settles. Read it with
GET /api/v1/outreach/campaigns/{campaign_id}/balance. - When you approve an opportunity, its estimated price is reserved: it no longer counts in
balance_cents. When the link goes live, the final price is spent and the reservation ends. If the placement fails, the reservation goes back tobalance_cents. - AIclicks never spends more than
max_link_price_centson one link without an explicit approval from you.
Endpoints
| Method | Path | Purpose |
|---|---|---|
POST | /api/v1/outreach/campaigns | Create a campaign |
GET | /api/v1/outreach/campaigns | List campaigns |
GET | /api/v1/outreach/campaigns/{campaign_id} | Get a campaign |
PATCH | /api/v1/outreach/campaigns/{campaign_id} | Update a campaign |
GET | /api/v1/outreach/campaigns/{campaign_id}/balance | Get the balance |
POST | /api/v1/outreach/campaigns/{campaign_id}/sources | Send sources |
GET | /api/v1/outreach/opportunities | List opportunities |
GET | /api/v1/outreach/opportunities/{opportunity_id} | Get an opportunity |
POST | /api/v1/outreach/opportunities/{opportunity_id}/approve | Approve |
POST | /api/v1/outreach/opportunities/{opportunity_id}/decline | Decline |
POST | /api/v1/outreach/opportunities/{opportunity_id}/reconsider | Reconsider |
POST | /api/v1/outreach/opportunities/{opportunity_id}/notes | Add a note |
POST | /api/v1/outreach/webhooks | Create a webhook endpoint |
GET | /api/v1/outreach/webhooks | List webhook endpoints |
DELETE | /api/v1/outreach/webhooks/{webhook_id} | Delete a webhook endpoint |
All outreach endpoints use the same base URL, authentication, envelope, errors and rate limits as the rest of the API. See the Overview.
The AIclicks team does all the outreach work: qualifying pages, contacting publishers, negotiating prices and placing links. The API lets you follow that work in your own tool or dashboard, make the decisions that are yours (approve, decline, reconsider), send pages and add notes for the team.
Idempotency
Create Campaign, Send Sources, Approve and Decline accept an optional Idempotency-Key header. If you send the same key again within 24 hours, AIclicks returns the first result and does not repeat the action. Use it on "Send to outreach" and "Approve" buttons, so that a double click or a network retry does not create two opportunities or two charges.
-H "Idempotency-Key: 7f3e9b2a-send-to-outreach-batch-0412"
Next steps
- Follow the Quickstart for a full integration, step by step.
- Set up webhooks so that results come back to you without polling.