Developers
APSIOPT REST API
Automate SEO and AI-visibility work from your own stack: create projects, run audits, pull findings and AI visibility, sync tasks to your PM tool and generate content. 78 endpoints, one OpenAPI 3.1 contract.
Authenticate
curl https://apsiopt.apvixai.com/api/v1/projects \
-H "Authorization: Bearer apx_…" \
-H "X-Workspace-Id: <client workspace id>" # agency keys only Create keys in the app under Developers & API. Choose read-only or read & write, all client workspaces or just one, and an optional expiry.
Conventions
- JSON in and out; successful responses are
{ "data": … }. - Errors:
{ "error": { "code", "message", "requestId" } }with HTTP 401/403/404/422/429. - IDs are ULIDs; timestamps are ISO-8601 UTC.
- Rate limit: 300 requests/minute per key.
- Machine-readable spec: openapi.json.
AI Content Optimizer
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/content | Content items |
| POST | /projects/{id}/content | Generate content with AI (consumes credits) · write scope |
| GET | /content/{id} | Content item with versions |
| PATCH | /content/{id} | Edit content (creates a new version; approved content returns to draft) · write scope |
| DELETE | /content/{id} | Archive content · write scope |
| POST | /content/{id}/submit | Submit for customer approval · write scope |
| POST | /content/{id}/review | Approve or reject content (customer approval before publishing) · write scope |
| POST | /content/{id}/publish | Publish approved content to a connected CMS · write scope |
| GET | /projects/{id}/voice | Brand voice |
| PUT | /projects/{id}/voice | Update brand voice · write scope |
| POST | /projects/{id}/integrations/cms | Connect a CMS (WordPress, Webflow, Shopify) for publishing · write scope |
AI Visibility
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/prompts | Tracked prompts |
| POST | /projects/{id}/prompts | Add prompts (single or bulk import) · write scope |
| PATCH | /prompts/{id} | Edit or pause a prompt · write scope |
| DELETE | /prompts/{id} | Remove a prompt · write scope |
| POST | /projects/{id}/prompts/suggest | Suggested prompts from brand context · write scope |
| POST | /projects/{id}/ai-runs | Run AI visibility checks now · write scope |
| GET | /projects/{id}/ai-runs/jobs | Recent AI visibility runs |
| GET | /projects/{id}/visibility | AI visibility KPIs and trends |
| GET | /projects/{id}/brand-facts | Brand facts used for AI answer accuracy checks |
| PUT | /projects/{id}/brand-facts | Replace brand facts · write scope |
| GET | /projects/{id}/prompt-matrix | Latest result per prompt and engine |
| GET | /prompts/{id}/runs | Answers for a prompt across engines |
| GET | /ai-runs/{id}/answer | Full AI answer text |
Citations & Backlinks
| Method | Path | Description |
|---|---|---|
| POST | /projects/{id}/backlinks/refresh | Refresh backlink profiles, link intersection and unlinked mentions · write scope |
| GET | /projects/{id}/backlinks | Latest backlink profiles, link opportunities and unlinked mentions |
| GET | /projects/{id}/citations | Domains and pages AI engines cite, and citation opportunities |
Competitor Intelligence
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/competitive | Brand vs competitors: AI visibility, SEO, backlinks, readiness and why they win |
| POST | /competitors/{id}/analyze | Check a competitor site’s AI readiness (schema, llms.txt, AI crawler access) · write scope |
Discovery
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/discovery | Recent discovery runs |
| POST | /projects/{id}/discovery | Discover keywords, questions and AI prompts · write scope |
Growth & ROI
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/growth | Organic & AI-referral traffic, leads, conversions and revenue |
| POST | /projects/{id}/tracking-key | Create or rotate the tracking snippet key · write scope |
| POST | /projects/{id}/growth/demo | Load demo analytics (no Google account needed) · write scope |
| GET | /projects/{id}/scorecards | SEO Performance and AI Visibility scorecards (separate, never blended) |
| GET | /opportunities | Unified opportunity dashboard: prioritized open findings across modules |
Projects
| Method | Path | Description |
|---|---|---|
| GET | /projects | List projects (brands/websites) in the workspace |
| POST | /projects | Create a project · write scope |
| GET | /projects/{id} | Get a project with competitors |
| PATCH | /projects/{id} | Update a project · write scope |
| DELETE | /projects/{id} | Archive a project · write scope |
| POST | /projects/{id}/competitors | Add a competitor · write scope |
| DELETE | /competitors/{id} | Remove a competitor · write scope |
Recommendations & Tasks
| Method | Path | Description |
|---|---|---|
| GET | /findings | Findings across modules |
| GET | /findings/{id} | Finding with evidence, recommendations and task |
| PATCH | /findings/{id} | Ignore or reopen a finding · write scope |
| POST | /findings/{id}/solution | Generate an AI solution for a finding · write scope |
| POST | /findings/{id}/recheck | Recheck whether a finding is resolved · write scope |
| GET | /tasks | Task board |
| POST | /tasks | Create a manual task · write scope |
| GET | /tasks/{id} | Task with finding, recommendations and activity |
| PATCH | /tasks/{id} | Update status, assignment or planning fields · write scope |
| POST | /tasks/{id}/comments | Comment on a task · write scope |
| GET | /engine/summary | Open findings and task counts for the workspace |
Reports
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/reports | Report history |
| POST | /projects/{id}/reports | Generate a report (white-label for agencies) · write scope |
| GET | /projects/{id}/report-schedules | Scheduled reports |
| POST | /projects/{id}/report-schedules | Schedule a weekly or monthly emailed report · write scope |
| DELETE | /report-schedules/{id} | Stop a scheduled report · write scope |
SEO Tracker
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/keywords | Tracked keywords with latest and previous position |
| POST | /projects/{id}/keywords | Track keywords (bulk) on Google and/or Bing · write scope |
| PATCH | /keywords/{id} | Edit, tag or pause a keyword · write scope |
| DELETE | /keywords/{id} | Stop tracking a keyword · write scope |
| GET | /keywords/{id}/history | Ranking history for a keyword |
| POST | /projects/{id}/rank-checks | Check rankings now · write scope |
| GET | /projects/{id}/rank-checks/jobs | Recent ranking checks |
| GET | /projects/{id}/seo | SEO KPIs, trends and position distribution |
| GET | /projects/{id}/integrations | Connected data sources for a project |
| POST | /projects/{id}/integrations/google/start | Start Google OAuth (Search Console + Analytics) · write scope |
| POST | /projects/{id}/integrations/gsc/demo | Connect demo Search Console data (no Google account needed) · write scope |
| GET | /projects/{id}/search-performance | Search Console clicks, impressions, CTR, position, top queries and pages |
Website Audit
| Method | Path | Description |
|---|---|---|
| GET | /projects/{id}/crawls | Audit history for a project |
| POST | /projects/{id}/crawls | Start a website audit crawl · write scope |
| GET | /crawls/{id} | Crawl status, site checks and summary |
| GET | /crawls/{id}/pages | Crawled pages (filter by issue code) |
| POST | /crawls/{id}/cancel | Cancel a running crawl · write scope |
Workspaces
| Method | Path | Description |
|---|---|---|
| GET | /workspaces | List client workspaces in the active tenant |
| POST | /workspaces | Create a client workspace (direct client under Apvix, or agency client) · write scope |
FAQ
Which plans include API access?
All Agency plans (Growth: 5 keys, Scale: 20 keys, Enterprise: unlimited) and Client Enterprise.
How do I authenticate?
Create a key under Developers & API in the app and send it as a Bearer token. Keys are shown once and stored hashed.
What can a key access?
Projects, audits, findings, tasks, AI visibility, rankings, content and reports — read-only or read & write. Keys never reach billing, team members, security settings or the platform console.
Are there rate limits?
300 requests per minute per key. Exceeding it returns HTTP 429 with a Retry-After header.