Automate SaaSify from your own code: read and manage marketplace subscriptions, report usage, manage entitlements and licenses, and work with offers, private offers, co-sell opportunities, leads and funding.
The SaaSify API is the same API that powers the SaaSify web app. Anything your team does by hand in the product has an endpoint behind it, and a curated, supported subset of those endpoints is published as the API reference.
Who this is for
This section is for engineers at an ISV (the publisher) who want their own systems — a billing job, a provisioning service, a CRM, an internal portal — to talk to SaaSify instead of a person clicking through the UI. You should be comfortable making authenticated HTTP requests and reading JSON.
What you can automate
The published reference is organized into these areas:
List, read, activate, deactivate, change plan, and read activity logs for marketplace subscriptions.
Report pay-as-you-go usage from your application so the cloud bills the buyer.
Read entitlements, grant and revoke seat entitlements, and validate a license at runtime.
Read offers and plans, and manage customer records.
Create and track private offers, and work with co-sell opportunities.
Read and update leads, work with partner funding, and handle agent offer requests.
How authentication works today
You authenticate as a SaaSify user and then send that user's bearer token with each request. You get a token from POST /api/token using your username and password, and the token's permissions come from that user's role. The right pattern is a dedicated service user with a least-privilege role — see Authentication.
Machine credentials — API keys and a client-credentials grant that don't depend on a human user's password — are on the roadmap. Until they ship, use a dedicated service user as described in Authentication.
Before you build
- Read Environments and base URLs and build against the demo environment first.
- Read API conventions: SaaSify wraps every response in a
{Status, Data}envelope, and some business errors come back asHTTP 200withStatus: "ERROR". - Then run the Quickstart to make your first call end to end.