Publishing Partner Docs and SDK
First Release Scope
The first partner release is SDK-first and admin-approved:
- Partner requests access from Sweepr.
- Sweepr reviews origin, app, payout wallet, and expected volume.
- Sweepr creates the partner profile and API key.
- Partner receives the key through a secure channel.
- Partner integrates with
@sweepr/sdk.
- Partner verifies in sandbox or preview before production.
Self-service key creation and a partner dashboard are intentionally out of scope for the first release.
Recommended Partner Experience
Use one docs domain and the npm SDK:
When the production backend exposes /sweepr/openapi.json, Mintlify can render generated API reference inside the same docs site.
SDK Publishing
@sweepr/sdk is published on npm. Use the latest published package unless Sweepr gives you a specific version to pin for an integration.
Current package:
Keep it marked as beta until the first production partner integration is complete.
NPM Release Checklist
- Confirm package name availability.
- Confirm package metadata: description, license, repository, author.
- Build
dist.
- Run SDK typecheck.
- Verify README quickstart.
- Publish with provenance if available.
- Tag release in GitHub.
API Key Handling
Partners should not self-generate API keys in the first release. Sweepr issues keys and stores only hashed keys in the backend. Raw keys are shown once and should be sent through a secure channel.Last modified on July 5, 2026