API
API overview, authentication, errors and the interactive console.
Pages in this section
API overviewBase URL, customer authentication, headers, response and error format, rate limits, money and date conventions, and plan limits of the Rawi customer API.Interactive API consoleGuide to the /docs/api console - choosing a server, getting a customer token, variables, sending requests, reading responses and snippets.
All endpoints by tag
Public
Documentation
Auth & profile
- post
/auth/logoutLog out - post
/auth/logout-othersSign out of all other devices - get
/auth/optionsSign-in options - post
/auth/request-codeRequest login code - get
/auth/sessionsList signed-in devices - delete
/auth/sessions/{id}Sign one device out - post
/auth/verifyVerify code (get user token) - get
/meGet current user - patch
/meUpdate profile
Onboarding
- get
/industriesSearch industries - get
/industries/groupsIndustry groups - get
/onboardingGet onboarding state - post
/onboarding/approveApprove & start first scan - post
/onboarding/brandSave brand (reads the site) - post
/onboarding/brand/rereadRe-read site - put
/onboarding/competitorsSave competitors - put
/onboarding/customersSave target customers - put
/onboarding/industrySave industry & sales model - put
/onboarding/matrixSave matrix & question language - put
/onboarding/productsSave products - post
/onboarding/questionsGenerate question set
Questions
Scans & reports
- post
/competitors/discoveredAdd discovered brand to competitors - get
/reports/citationsSources - get
/reports/gapsMissed questions - post
/reports/gaps/{questionId}/suggestionAI suggestion for a missed question - get
/reports/overviewMarket overview - get
/reports/questionsQuestions & answers (list) - get
/reports/questions/{id}Question detail - get
/reports/share-cardShare card - get
/reports/trendTrend - get
/runsList scans - get
/runs/currentCurrent scan + progress
Talk to an expert
Billing & payment gateway
- post
/billing/checkoutCheckout (start payment) - get
/billing/gatewaysGateways the user can pay with - post
/billing/notify-meNotify me when online payment is available - get
/billing/paymentsList own payments - get
/billing/payments/{id}Get payment (result page) - get
/billing/plansPlans & periods - post
/billing/quoteQuote (period + code) - post
/billing/subscription/cancelCancel automatic renewal - post
/billing/subscription/resumeResume automatic renewal - post
/billing/webhooks/stripeStripe webhook
Settings
- get
/settings/accountGet account & receipts - delete
/settings/accountDelete account - get
/settings/brandGet brand & competitors - put
/settings/brandUpdate brand & competitors - post
/settings/email/request-codeRequest email verification code - post
/settings/email/verifyVerify email - post
/settings/exportDownload my data - patch
/settings/notificationsSMS notifications on/off - delete
/settings/phoneRemove phone - post
/settings/phone/request-codeRequest phone verification code - post
/settings/phone/verifyVerify phone - get
/settings/productsGet products, customers & cells - put
/settings/productsUpdate products, customers & cells - post
/settings/reauth/request-codeConfirm it's you: send a code to the current email or phone - post
/settings/reauth/verifyConfirm it's you: verify the code (get reauth_token) - get
/settings/runGet scan & language settings - put
/settings/runUpdate scan & language settings