# RapidAPI — add the 3 new connector endpoints The gateway only forwards endpoints defined in your RapidAPI API. Add these so buyers can reach them. Two ways: ## Option A (fastest): re-import the OpenAPI RapidAPI Provider → your API → **Definitions / Import** → import from URL: https://shaankar39-revai-api.hf.space/openapi.json This already contains ALL endpoints (old + new). Or upload the trimmed file `new_endpoints.openapi.json` (just the 3 new ones). ## Option B: add each manually Provider → your API → **Endpoints → Create REST Endpoint**. ### 1) Universal connector (recommended default) - Name: Predict Smart - Method: **POST** - Path: **/v1/predict/smart** - Header: `Content-Type: application/json` - Body (JSON): {"data":[{"account_id":"ACME","signup_date":"2024-01-10","last_seen":"2026-05-10","plan":"Monthly","missed_payments":3,"nps":2}],"model_type":"churn"} ### 2) CSV upload - Name: Predict CSV - Method: **POST** - Path: **/v1/predict/csv** - Body type: **multipart/form-data**, fields: file (type: file) — the customer's CSV model_type (type: text) — "churn" or "lead" model_id (type: text, optional) ### 3) Stripe connector - Name: Connect Stripe - Method: **POST** - Path: **/v1/connect/stripe** - Header: `Content-Type: application/json` - Body (JSON): {"stripe_key":"rk_live_...","limit":100,"model_type":"churn"} After adding, hit **Send** on each in Studio to confirm 200 (the smart/csv ones work immediately; stripe needs a real read-only key).