---
title: "API reference"
description: "Every SaaSify API operation, with try-it on the demo environment."
---

Every operation of the SaaSify API, generated from the OpenAPI 3.1 description. Each operation has its own page with parameters, request body, responses and code samples.

:::note[Before you call the API]
- **Base URLs:** production `https://api.saasify.ai`; test against the demo environment `https://api-demo.saasify.ai`. See [Environments](/developers/environments).
- **Authentication:** get a bearer token from `POST /api/token`, then send `Authorization: Bearer <token>`. See [Authentication](/developers/authentication).
- **Responses** come in a `{ Status, Data }` envelope, and some errors return HTTP 200 with `Status: "ERROR"`. See [API conventions](/developers/conventions) and the [Error catalog](/developers/errors).
:::

New to the API? Start with the [Quickstart](/developers/quickstart). For changes over time, see the [API changelog](/developers/changelog).

The SaaSify API lets ISVs and integrators manage marketplace subscriptions, metering, entitlements, private offers, co-sell, leads and funding across the AWS, Microsoft and Google Cloud marketplaces.

## Base URLs
- **Production:** `https://api.saasify.ai`
- **Demo (sandbox):** `https://api-demo.saasify.ai` — this is the only server configured below, so the **Try it** console targets demo. Point your production integration at the production base URL.

## Authentication
Call `POST /api/token` with the OAuth2 resource-owner **password** grant (`grant_type=password`, `username`, `password`) to receive an opaque bearer token. There are no client ids/secrets, API keys or scopes — permissions come from the authenticating user's role, so integrate under a dedicated least-privilege service user. Send the token on every other request as `Authorization: Bearer <token>`. Tokens last 1440 minutes; refresh with `grant_type=refresh_token`. If the user belongs to more than one tenant, send the optional `TenantCode` header; otherwise the tenant comes from the token.

## Response envelope
Every endpoint (except `POST /api/token`) returns HTTP 200 with a standard envelope: `{ "OperationType", "Status", "RequestCorrelationID", "ErrorDetail", "Data", "StatusCode", "ErrorMessage" }`. Envelope fields are PascalCase; enums serialize as strings. The business payload is in `Data`, which is sometimes a JSON string that must be parsed again.

## Errors
Many business errors are returned as **HTTP 200 with `Status: "ERROR"`** and a message in `ErrorMessage`/`ErrorDetail` — always check `Status`, not just the HTTP code. Transport-level failures use HTTP 400 (bad input), 401 (unauthenticated), 403 (missing permission / not a tenant user), 404 and 500. Do not depend on `ErrorDetail` as a stable field.

## Pagination
Pagination is per-operation and inconsistent. List endpoints take some mix of `PageNumber`/`PageNo`, `PageSize`, `StartIndex` (1-based), `SearchText`, `SortColumn` and `SortOrder`, in the query or a POST body. Where a paged result is returned it looks like `PagedDataResult`: `{ PageSize, CurrentPageNo, Data[], TotalDataCount }`. There are no cursors or `Link` headers.

## Versioning & limits
There is no platform-wide API version; some routes carry ad-hoc segments (`/v2/`, `/v3/`, `/v1/`). There are no published rate limits today — treat usage as fair-use; a `429` may be introduced later. There is no idempotency key.

Version `2026-12` · 125 operations · [OpenAPI description](/developers/api-reference.openapi.json)

## Servers

- `https://api-demo.saasify.ai` — Demo (use for testing)

## Authentication

Get a bearer token and read the current user.

### Get the current user profile

`GET /api/user` — Returns the profile of the user that owns the bearer token, including their tenant and role context. Use it to confirm which tenant and identity a token resolves to. [Reference →](/developers/api-reference/authentication-get-profile)

### Get an access token (password or refresh_token grant)

`POST /api/token` — Exchanges SaaSify user credentials for an opaque bearer token using the OAuth2 resource-owner **password** grant, or refreshes an existing token with the **refresh_token** grant. The body is `application/x-www-form-urlencoded`. There is … [Reference →](/developers/api-reference/authentication-get-token)

## Subscriptions

List, inspect and manage marketplace subscriptions.

### List subscriptions (query body)

`POST /api/subscriptions/list` — Returns a paged list of subscriptions for the tenant. Pass paging and filter fields in the body. Totals are returned inside `Data` (`TotalDataCount`). [Reference →](/developers/api-reference/subscriptions-list)

### Activate a subscription

`POST /api/subscriptions/activate` — Activates a pending subscription so the customer can start using the product. [Reference →](/developers/api-reference/subscriptions-activate)

### List plans available for a subscription's offer

`GET /api/subscriptions/getPlans` — Returns the plans a subscription can change to, for the offer it belongs to. [Reference →](/developers/api-reference/subscriptions-get-plans-by-offer)

### Change a subscription's plan

`POST /api/subscriptions/changeplan` — Moves a subscription to a different plan. The change is propagated to the marketplace. [Reference →](/developers/api-reference/subscriptions-change-plan)

### Deactivate a subscription

`POST /api/subscriptions/deactivate` — Deactivates (suspends) an active subscription. [Reference →](/developers/api-reference/subscriptions-deactivate)

### Change seat quantity

`GET /api/subscriptions/changequantity` — Changes the seat/quantity of a subscription. Note: this operation is implemented as a GET that mutates state; pass `subscriptionId` and the new `quantity` as query parameters. [Reference →](/developers/api-reference/subscriptions-change-quantity)

### Link a subscription to a customer

`POST /api/subscriptions/linktocustomer` — Associates an existing subscription with a customer record. [Reference →](/developers/api-reference/subscriptions-link-to-customer)

### Save a custom subscription detail

`POST /api/subscriptions/additionaldetail` — Creates or updates a custom key/value detail record on a subscription. [Reference →](/developers/api-reference/subscriptions-save-additional-detail)

### Get a subscription by id

`GET /api/subscriptions/{subscriptionId}` — Returns the full detail of a single subscription. [Reference →](/developers/api-reference/subscriptions-get)

### List subscription statuses

`GET /api/subscriptions/subscriptionstatus` — Returns the set of subscription status values available for filtering. [Reference →](/developers/api-reference/subscriptions-get-status-list)

### List custom subscription details

`POST /api/subscriptions/additionaldetail/list` — Returns the custom key/value detail records attached to a subscription. [Reference →](/developers/api-reference/subscriptions-list-additional-details)

### Get an AWS subscription

`GET /api/aws/getsubscription/{SubscriptionId}` — Returns the AWS-marketplace view of a subscription, including agreement and dimension detail. [Reference →](/developers/api-reference/subscriptions-get-aws)

### Get a Google Cloud subscription

`GET /api/gcp/getsubscription/{SubscriptionId}` — Returns the Google Cloud marketplace view of a subscription. [Reference →](/developers/api-reference/subscriptions-get-gcp)

### Report provisioning status (v2)

`POST /api/v2/subscriptions/{origin}/updateprovisoningstatus` — Lets an ISV or CRM system report that provisioning for a subscription has finished (or failed). The `{origin}` segment names the source system. Note the historical spelling `updateprovisoningstatus` in the route. [Reference →](/developers/api-reference/subscriptions-update-provisioning-status)

### Get a subscription activity log

`GET /api/subscriptions/subscriptionactivitylog/{subscriptionId}` — Returns the lifecycle activity log (status changes, plan changes, usage events) for a subscription. [Reference →](/developers/api-reference/subscriptions-get-activity-log)

### Delete a custom subscription detail

`DELETE /api/subscriptions/additionaldetail/{SubscriptionAdditionalDetailID}` — Deletes a custom detail record by its identifier. [Reference →](/developers/api-reference/subscriptions-delete-additional-detail)

## Metering & usage

Post and read metered usage for usage-based plans.

### List bulk usage jobs

`GET /api/batchusage/joblog` — Returns the log of bulk usage-meter jobs. [Reference →](/developers/api-reference/metering-batch-job-log)

### Post AWS metered usage

`POST /api/aws/postmeterusage` — Posts a metered-usage event to an AWS Marketplace subscription. [Reference →](/developers/api-reference/metering-post-usage-aws)

### Bulk-upload usage meters

`POST /api/batchusage/bulkupload` — Starts a bulk usage-meter upload job. Returns a job log id you can poll. [Reference →](/developers/api-reference/metering-batch-bulk-upload)

### Post a usage event

`POST /api/subscriptions/postUsage` — Posts a single metered-usage event for a subscription, with the subscription id in the body. [Reference →](/developers/api-reference/metering-post-usage)

### List meters for a plan

`GET /api/subscriptions/metersbyplan` — Returns the metered dimensions configured for a plan. [Reference →](/developers/api-reference/metering-get-meters-by-plan)

### Post Google Cloud metered usage

`POST /api/gcp/subscriptions/postUsage` — Posts a metered-usage event to a Google Cloud subscription. [Reference →](/developers/api-reference/metering-post-usage-gcp)

### Import a batch of usage records

`POST /api/subscriptions/importbatchusage` — Imports many usage records for a subscription in one call. [Reference →](/developers/api-reference/metering-import-batch-usage)

### Get usage history for a bulk job

`GET /api/batchusage/{jobLogID}/usagehistory` — Returns the per-record usage history for a bulk usage job. [Reference →](/developers/api-reference/metering-batch-usage-history)

### Post usage from a source system (v2)

`POST /api/v2/subscriptions/{origin}/usagepost` — Posts metered usage where the `{origin}` names the source system (for example `salesforce`, `hubspot`, `aws`, `amp`, `gcp`). Built for posting usage from CRM and ISV systems. [Reference →](/developers/api-reference/metering-usage-post-v2)

### Post a usage event (v1)

`POST /api/subscriptions/{subscriptionID}/usage` — Posts a single metered-usage event for a subscription (v1 shape, subscription id in the path). Use this to report consumption for usage-based (metered) dimensions. [Reference →](/developers/api-reference/metering-post-usage-v1)

### List meters for a subscription

`GET /api/subscriptions/{subscriptionID}/meters` — Returns the metered dimensions configured for a subscription. [Reference →](/developers/api-reference/metering-get-meters-by-subscription)

### Charge a batch of usage (v2)

`POST /api/v2/subscriptions/{origin}/chargebatchusage` — Submits a batch of usage records for charging through the v2 pipeline. [Reference →](/developers/api-reference/metering-charge-batch-usage-v2)

### Get posted usage for a subscription (v2)

`GET /api/v2/subscriptions/{origin}/usagepost/{subscriptionId}` — Returns the usage records posted through the v2 endpoint for a subscription. [Reference →](/developers/api-reference/metering-get-usage-post-v2)

### Get metered usage for a subscription

`GET /api/subscriptions/subscriptionmeteredusage/{subscriptionId}` — Returns the recorded metered-usage history for a subscription. [Reference →](/developers/api-reference/metering-get-metered-usage)

## Entitlements & licenses

Grant seats/entitlements and validate licenses at runtime.

### List user entitlements

`GET /api/entitlement` — Returns the seat/user entitlements for the tenant. [Reference →](/developers/api-reference/entitlements-list)

### Grant or update a user entitlement

`POST /api/entitlement/save` — Creates or updates an entitlement that grants a user access to a resource at a permission level. [Reference →](/developers/api-reference/entitlements-save)

### Revoke a user entitlement

`POST /api/entitlement/revoke` — Revokes a previously granted user entitlement. [Reference →](/developers/api-reference/entitlements-revoke)

### Get a Google Cloud entitlement

`POST /api/gcp/getentitlement` — Returns a single Google Cloud Marketplace entitlement. [Reference →](/developers/api-reference/entitlements-get-gcp)

### Look up a Google Cloud entitlement

`POST /api/gcp/lookupentitlement` — Looks up a Google Cloud Marketplace entitlement by id, before activation. [Reference →](/developers/api-reference/entitlements-lookup-gcp)

### List Google Cloud entitlements

`POST /api/gcp/getallentitlements` — Returns all Google Cloud Marketplace entitlements for a seller account. [Reference →](/developers/api-reference/entitlements-get-all-gcp)

### Validate a license at runtime

`POST /api/subscriptions/license/validate` — Validates a subscription license so an ISV application can check, at runtime, whether a customer is entitled. Returns the license status and entitled quantity. [Reference →](/developers/api-reference/licenses-validate)

### Look up AWS marketplace entitlements

`GET /api/aws/entitlement/{getentitlement}` — Returns AWS Marketplace entitlements for the given lookup key. [Reference →](/developers/api-reference/entitlements-get-aws)

### Save subscription licenses

`POST /api/subscriptions/savesubscriptionlicenses` — Creates or updates the license records (assignments) for a subscription. [Reference →](/developers/api-reference/licenses-save)

### Get licenses for a subscription

`GET /api/subscriptions/getSubscriptionLicenses/{subscriptionId}` — Returns the license records associated with a subscription. [Reference →](/developers/api-reference/licenses-get-by-subscription)

## Customers

Manage customers and their cloud-provider accounts.

### Search customers

`GET /api/customers` — Returns customers matching an optional name filter. [Reference →](/developers/api-reference/customers-search)

### Create or update a customer

`POST /api/customers` — Creates a new customer, or updates an existing one when an id is supplied. [Reference →](/developers/api-reference/customers-save)

### List customer accounts

`POST /api/customeraccounts` — Returns a paged list of customer accounts, optionally filtered by customer. [Reference →](/developers/api-reference/customers-list-accounts)

### Delete a customer

`DELETE /api/customers/{customerId}` — Deletes a customer by id. [Reference →](/developers/api-reference/customers-delete)

### Save a product account

`POST /api/customeraccounts/saveproductaccount` — Links a product to a customer account. [Reference →](/developers/api-reference/customers-save-product-account)

### Save a customer account

`POST /api/customeraccounts/savecustomeraccount` — Creates or updates a customer account. [Reference →](/developers/api-reference/customers-save-account)

### Delete a provider account

`DELETE /api/customeraccounts/CustomerprovideraccountID/{ID}` — Deletes a customer provider-account link by id. [Reference →](/developers/api-reference/customers-delete-provider-account)

### Get provider accounts for a customer

`GET /api/customeraccounts/provideraccount/{customercrmaccountid}` — Returns the cloud-provider accounts linked to a customer. [Reference →](/developers/api-reference/customers-get-provider-accounts)

## Offers & plans

Read offers and plans configured in the tenant.

### List offers

`GET /api/offers` — Returns the offers configured in the tenant. [Reference →](/developers/api-reference/offers-list)

### Search offers

`POST /api/offers/search` — Returns a paged, filtered list of offers. [Reference →](/developers/api-reference/offers-search)

### List plans for an offer

`GET /api/plan/plansList` — Returns the plans that belong to an offer. [Reference →](/developers/api-reference/plans-list-by-offer)

### List enabled marketplace providers for offers

`GET /api/offers/enabledproviders` — Returns the cloud marketplaces (providers) enabled for offers in this tenant. [Reference →](/developers/api-reference/offers-get-enabled-providers)

### List a plan's meters

`GET /api/plan/meterslist/{planID}` — Returns the metered dimensions configured for a plan. [Reference →](/developers/api-reference/plans-get-meters)

### List an offer's input parameters

`GET /api/offers/parameters/{offerID}` — Returns the configured input parameters for an offer. [Reference →](/developers/api-reference/offers-get-parameters)

### Get plan details by id

`GET /api/plan/plandetailsbyid/{planId}` — Returns the full detail of a plan, including its access permissions. [Reference →](/developers/api-reference/plans-get-by-id)

### Get offer details by id

`GET /api/offers/offerdetailsbyid/{offerId}` — Returns the full detail of an offer, including its access permissions. [Reference →](/developers/api-reference/offers-get-by-id)

### List offers by provider

`GET /api/offers/offersbyproviders/{providerId}` — Returns the offers for a given cloud provider. [Reference →](/developers/api-reference/offers-list-by-provider)

## Private offers

Create and manage private offers (including CPPO) across clouds.

### List deals / private offers

`POST /api/deals/list` — Returns a paged list of deals (private-offer workspaces) for the tenant. [Reference →](/developers/api-reference/private-offers-list-deals)

### Cancel a private offer

`POST /api/deals/cancel` — Cancels a private offer. [Reference →](/developers/api-reference/private-offers-cancel)

### Get a deal's job status

`GET /api/deals/status` — Returns the asynchronous job status for an in-progress deal operation. [Reference →](/developers/api-reference/private-offers-get-job-status)

### Withdraw a private offer

`POST /api/deals/withdraw` — Withdraws a private offer that has been extended to a customer. [Reference →](/developers/api-reference/private-offers-withdraw)

### Create an AWS CPPO (channel) private offer

`POST /api/deals/createcppo/aws` — Creates a Channel Partner Private Offer (CPPO) in AWS Marketplace from the deal. [Reference →](/developers/api-reference/private-offers-create-cppo-aws)

### Search private offers

`POST /api/offer/private/search` — Returns a paged, filtered list of private offers. [Reference →](/developers/api-reference/private-offers-search)

### Extend an AWS private offer's expiration

`PATCH /api/deals/aws/extendexpiration` — Extends the expiration date of an AWS Marketplace private offer. [Reference →](/developers/api-reference/private-offers-extend-aws-expiration)

### Send a private-offer link to the buyer

`POST /api/deals/sendprivateofferlink` — Emails the private-offer acceptance link to the buyer. [Reference →](/developers/api-reference/private-offers-send-link)

### Create a Microsoft private offer from a deal

`POST /api/deals/createprivateoffer/amp` — Publishes the deal as a Microsoft Marketplace private offer. [Reference →](/developers/api-reference/private-offers-create-amp)

### Create an AWS private offer from a deal

`POST /api/deals/createprivateoffer/aws` — Publishes the deal as an AWS Marketplace private offer. [Reference →](/developers/api-reference/private-offers-create-aws)

### Create a Google Cloud private offer from a deal

`POST /api/deals/createprivateoffer/gcp` — Publishes the deal as a Google Cloud Marketplace private offer. [Reference →](/developers/api-reference/private-offers-create-gcp)

### Get a deal's details

`GET /api/deals/{dealreferenceID}/details` — Returns the full detail of a deal / private offer. [Reference →](/developers/api-reference/private-offers-get-deal)

### Save a Microsoft private offer

`POST /api/offer/private/saveampprivateoffer` — Creates or updates a Microsoft Marketplace private offer. [Reference →](/developers/api-reference/private-offers-save-amp)

### Save an AWS private offer

`POST /api/offer/private/saveawsprivateoffer` — Creates or updates an AWS Marketplace private offer. [Reference →](/developers/api-reference/private-offers-save-aws)

### Get a deal's activity log

`GET /api/deals/{dealreferenceID}/activitylog` — Returns the activity log for a deal / private offer. [Reference →](/developers/api-reference/private-offers-get-deal-activity-log)

### Cancel an AWS private offer

`POST /api/offer/private/cancelawsprivateoffer` — Cancels an AWS Marketplace private offer. [Reference →](/developers/api-reference/private-offers-cancel-aws)

### Create a private offer from an opportunity

`POST /api/offer/private/create/from-opportunity` — Creates a private offer from a CRM opportunity / deal. [Reference →](/developers/api-reference/private-offers-create-from-opportunity)

### Get AWS private offer details

`GET /api/offer/private/getawsprivateofferdetails/{privateOfferId}` — Returns the detail of an AWS Marketplace private offer. [Reference →](/developers/api-reference/private-offers-get-aws-by-id)

### Check private-offer acceptance status

`GET /api/deals/{dealreferenceID}/checkprivateofferacceptancestatus` — Returns whether the customer has accepted the private offer. [Reference →](/developers/api-reference/private-offers-check-acceptance-status)

## Co-sell

Manage co-sell opportunities and reference data (v3).

### List co-sell providers

`GET /api/cosell/v3/providers` — Returns the cloud providers that support co-sell. [Reference →](/developers/api-reference/co-sell-get-providers)

### List co-sell seller accounts

`GET /api/cosell/v3/selleraccounts` — Returns the seller accounts available for co-sell. [Reference →](/developers/api-reference/co-sell-list-seller-accounts)

### List co-sell solutions

`GET /api/cosell/v3/selleraccounts/{sellerCode}/solutions` — Returns the solutions registered for a seller account. [Reference →](/developers/api-reference/co-sell-list-solutions)

### Get co-sell reference data

`GET /api/cosell/v3/providers/{cloudProvider}/referencedata` — Returns reference data (industries, stages, etc.) for a cloud provider's co-sell. [Reference →](/developers/api-reference/co-sell-get-reference-data)

### List co-sell referral types

`GET /api/cosell/v3/providers/{cloudProvider}/referraltypes` — Returns the referral types supported by a cloud provider. [Reference →](/developers/api-reference/co-sell-get-referral-types)

### List co-sell opportunities

`GET /api/cosell/v3/selleraccounts/{sellerCode}/opportunities` — Returns the co-sell opportunities for a seller account. [Reference →](/developers/api-reference/co-sell-list-opportunities)

### Create a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities` — Creates a new co-sell opportunity in a seller account and syncs it to the cloud provider. [Reference →](/developers/api-reference/co-sell-create-opportunity)

### Query co-sell opportunities

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/query` — Returns co-sell opportunities matching a structured query. [Reference →](/developers/api-reference/co-sell-query-opportunities)

### Get a co-sell opportunity by CRM id

`GET /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/crmid/{crmID}` — Returns a co-sell opportunity by the identifier of the record in the connected CRM. [Reference →](/developers/api-reference/co-sell-get-by-crm-id)

### Get a co-sell opportunity

`GET /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}` — Returns a co-sell opportunity by its SaaSify record id. [Reference →](/developers/api-reference/co-sell-get-opportunity)

### Update a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}` — Updates an existing co-sell opportunity. [Reference →](/developers/api-reference/co-sell-update-opportunity)

### Delete a co-sell opportunity

`DELETE /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}` — Deletes a co-sell opportunity. [Reference →](/developers/api-reference/co-sell-delete-opportunity)

### Get a co-sell opportunity's logs

`GET /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}/logs` — Returns the sync and activity logs for a co-sell opportunity. [Reference →](/developers/api-reference/co-sell-get-logs)

### Accept a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}/accept` — Accepts a co-sell opportunity shared by the cloud provider. [Reference →](/developers/api-reference/co-sell-accept-opportunity)

### Assign a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}/assign` — Assigns a co-sell opportunity to a team member. [Reference →](/developers/api-reference/co-sell-assign-opportunity)

### Reject a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}/reject` — Rejects a co-sell opportunity shared by the cloud provider. [Reference →](/developers/api-reference/co-sell-reject-opportunity)

### Associate an offer with a co-sell opportunity

`POST /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/{saasifyRecordId}/associateoffer` — Links a private offer / offer to a co-sell opportunity. [Reference →](/developers/api-reference/co-sell-associate-offer)

### Get a co-sell opportunity by cloud id

`GET /api/cosell/v3/selleraccounts/{sellerCode}/opportunities/cloudcosellidentifier/{cloudCosellIdentifier}` — Returns a co-sell opportunity by the cloud provider's co-sell identifier. [Reference →](/developers/api-reference/co-sell-get-by-cloud-id)

## Leads

Work with marketplace and co-sell leads.

### List leads

`GET /api/lead` — Returns the co-sell / marketplace leads for the tenant. [Reference →](/developers/api-reference/leads-list)

### Update a lead

`PATCH /api/lead` — Updates fields on a lead. [Reference →](/developers/api-reference/leads-update)

### List lead transactions

`GET /api/leads` — Returns the marketplace lead transactions (the raw lead feed) for the tenant. [Reference →](/developers/api-reference/leads-list-transactions)

### Update a batch of leads

`POST /api/lead/batch` — Updates many leads in one call. [Reference →](/developers/api-reference/leads-batch-update)

### Update a lead's stage

`PATCH /api/lead/stage` — Moves a lead to a different pipeline stage. [Reference →](/developers/api-reference/leads-update-stage)

### Export lead transactions

`GET /api/leads/export` — Exports the marketplace lead transactions as a downloadable file. [Reference →](/developers/api-reference/leads-export)

### Get a lead

`GET /api/lead/{referenceId}` — Returns a single lead by its reference id. [Reference →](/developers/api-reference/leads-get)

### Get lead reference data

`GET /api/lead/providers/{cloudProvider}/referencedata` — Returns reference data (stages, sources) for a cloud provider's leads. [Reference →](/developers/api-reference/leads-get-reference-data)

### Get a lead by CRM id

`GET /api/lead/selleraccounts/{sellerCode}/crm/{crmName}/{crmLeadId}` — Returns the lead that maps to a given CRM lead id. [Reference →](/developers/api-reference/leads-get-by-crm-id)

### Accept a lead opportunity

`POST /api/lead/selleraccounts/{sellerCode}/leads/{saasifyRecordId}/accept` — Accepts a lead shared with the seller account. [Reference →](/developers/api-reference/leads-accept)

### Reject a lead opportunity

`POST /api/lead/selleraccounts/{sellerCode}/leads/{saasifyRecordId}/reject` — Rejects a lead shared with the seller account. [Reference →](/developers/api-reference/leads-reject)

## Funding

Partner funding (MDF / co-op) requests and programs.

### Get funding reference data

`GET /api/partnerfunding/v1/providers/{cloudProvider}/referencedata` — Returns reference data for a cloud provider's funding programs. [Reference →](/developers/api-reference/funding-get-reference-data)

### Create a funding request

`POST /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequest` — Creates a partner funding request against a funding program. [Reference →](/developers/api-reference/funding-create-request)

### List funding requests

`GET /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequests` — Returns the partner funding (MDF / co-op) requests for a seller account. [Reference →](/developers/api-reference/funding-list-requests)

### List funding programs

`GET /api/partnerfunding/v1/selleraccounts/{sellerCode}/partnerfundingprograms` — Returns the partner funding programs available to a seller account. [Reference →](/developers/api-reference/funding-list-programs)

### Get a funding request by CRM id

`GET /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequests/crmid/{crmID}` — Returns the funding request that maps to a given CRM record id. [Reference →](/developers/api-reference/funding-get-request-by-crm-id)

### Get a funding request

`GET /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequests/{saasifyRecordId}` — Returns a single partner funding request. [Reference →](/developers/api-reference/funding-get-request)

### Get a funding request's history

`GET /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequests/{saasifyRecordId}/history` — Returns the status history of a partner funding request. [Reference →](/developers/api-reference/funding-get-request-history)

### Associate a funding request with an opportunity

`PATCH /api/partnerfunding/v1/selleraccounts/{sellerCode}/fundrequests/{saasifyRecordId}/pfassociatepartneropportunity` — Links a partner funding request to a partner opportunity. [Reference →](/developers/api-reference/funding-associate-opportunity)

## Agent offers

Offer-request workflow for AI agents and partners.

### List offer-request product types

`GET /api/agentoffer/GetProductTypes` — Returns the product types available for agent offer requests. [Reference →](/developers/api-reference/agent-offers-get-product-types)

### Update an offer request

`POST /api/agentoffer/updateofferRequest` — Updates the fields of an agent offer request. [Reference →](/developers/api-reference/agent-offers-update)

### List agent offer requests

`GET /api/agentoffer/getOfferRequestList` — Returns the offer requests submitted through the agent/partner offer-request workflow. [Reference →](/developers/api-reference/agent-offers-list)

### Update an offer request's status

`POST /api/agentoffer/updateofferRequestStatus` — Moves an agent offer request to a new status (for example Approved or Rejected). [Reference →](/developers/api-reference/agent-offers-update-status)

### Add a comment to an offer request

`POST /api/agentoffer/InsertofferRequestComment` — Adds a comment to the agent offer-request thread. [Reference →](/developers/api-reference/agent-offers-insert-comment)

### Save an offer request's entitlement

`POST /api/agentoffer/saveofferrequestentitlement` — Saves the entitlement associated with an agent offer request. [Reference →](/developers/api-reference/agent-offers-save-entitlement)

### Get an offer request's comment history

`GET /api/agentoffer/GetCommentHistory/{offerRequestId}` — Returns the comment history for an agent offer request. [Reference →](/developers/api-reference/agent-offers-get-comment-history)

### Get an offer request's activity log

`GET /api/agentoffer/getActivityLogList/{offerRequestId}` — Returns the activity log for an agent offer request. [Reference →](/developers/api-reference/agent-offers-get-activity-log)

### Get an agent offer request

`GET /api/agentoffer/getOfferRequestDetails/{offerRequestId}` — Returns the detail of a single agent offer request. [Reference →](/developers/api-reference/agent-offers-get)

### List an offer request's entitlements

`GET /api/agentoffer/getEntitlementOfferRequestList/{offerRequestId}` — Returns the entitlements attached to an agent offer request. [Reference →](/developers/api-reference/agent-offers-get-entitlement-list)
