Skip to main content
Call kiflo('partner', ...) each time a prospective partner submits your partner application form. Kiflo creates a partner record in your account and places the new partner into the program level you specify, so your team can immediately review their application and move them through your onboarding workflow. This is the recommended approach if you want partners to apply directly from your marketing site or partner portal.

Syntax

Example

Parameters

PartnerObject

string
required
The display name of the partner organization — typically the company name (e.g., "Acme Corp").
object
required
The primary contact person for this partner. firstName, lastName, and email are required.
string
The initial status of the partner record. Accepted values are "Applicant", "Prospect", "Active", and "Declined". Use "Applicant" for partners submitting an application form so your team knows the record needs review.
number
The identifier of the program level the partner is applying to join. See Finding the programLevelId below.
object
Custom partner properties as configured in your Kiflo account properties. Use this to capture any additional data your application form collects, such as country, website, or partnerType.

Finding the programLevelId

The programLevelId is the numeric ID of a specific level within one of your Kiflo programs. To find it:
  1. Log in to your Kiflo account.
  2. Navigate to the program that contains the level.
  3. Click on the level you want partners to apply to.
  4. Look at the browser address bar — the URL will look like:
  5. The last number in the URL is the programLevelId. In this example it is 155.
If your application form lets partners choose between multiple program levels (e.g., “Sales Partner”, “Reseller”), populate a dropdown with each level’s name and corresponding ID, then pass the selected value as programLevelId when the form is submitted.

Full form integration example

Here is a complete example connecting an HTML application form to Kiflo:
After submission, the new partner appears in Kiflo under the program level you specified and is ready for your team to review.