DEVELOPER CONNECTIONS

A useful workflow.
Where you need it.

A private server API and a small website widget for your paid organization.

Server-side API

Claim your purchase key from the dashboard. It is displayed once and stored only as a SHA-256 hash on our server. Keep it in your server environment. Never put a private key in browser code. Owners can revoke or rotate keys.

curl https://inrigpt.com/api/integration.php   -H "Authorization: Bearer YOUR_PRIVATE_KEY"   -H "Content-Type: application/json"   -d '{"tool":"proposals","input":"YOUR SOURCE TEXT, 30–4000 CHARACTERS"}'

Supported tools: proposals, knowledge, sales, content, and chat. The organization must have purchased the relevant workflow. Organization packages unlock all five. Inputs are sent to Cloudflare Workers AI; outputs are drafts for human review.

Hosted checkout link API

{"action":"checkout","product":"content"}

POST this body to the same endpoint with your private API key. It returns a hosted checkout URL for that organization. The buyer signs in as an organization owner and pays on INRI GPT. Prices and payment verification stay on our server.

Website widget

In organization settings, enable the widget and set the exact HTTPS website origin. Copy the generated code into that website. The public widget ID is safe to expose; it is not your API key. Browsers on other origins are rejected. Like all public widgets, it can be accessed by visitors, so it has request limits and shares your organization quota.

<script async src="https://inrigpt.com/widget.js"
  data-inrigpt-widget="YOUR_PUBLIC_WIDGET_ID"
  data-tool="knowledge"></script>

Limits and responses

Organization API allowance: 1,000 requests per minute. Single-service allowance: 60 requests per minute. Public widgets also limit each visitor to 3 requests per minute. Actual inference remains subject to Cloudflare’s free daily allocation, the account’s text-generation limit of 300 requests per minute, the free allocation of 10,000 neurons per day, and the current site safety budget of 1,000 purchased AI calls per UTC day. No guaranteed throughput. Status 401 means an invalid key, 403 means a missing entitlement or unauthorized origin, 429 means a usage limit, and 503 means a temporary provider error.

Google Workspace linking

Owners can link a verified Google Workspace account using OAuth with PKCE and only openid email profile permissions. We store the account identifier, email, and Workspace domain; we do not retain Google access or refresh tokens. This verifies a connection identity. It does not grant organization-wide Google administration or import Drive documents, Gmail, calendars, or employees. Those features need a separate integration and explicit Google permissions.

Manage your connection →