Back to Help Hub
IntegrationsHow-To1 min readUpdated 2026-03-04

Referral Factory API — qualifying leads via API

Use the qualification endpoint to programmatically mark a lead as qualified from your own system when a conversion event occurs.

Send this article context to support so a human can pick up quickly.
Browse topics and support
Navigation

Topics

Article

On this page

Support

Ask AI

Ask a product or setup question without leaving this page.

Need human help?

Still stuck?

If this article does not solve the problem, send the context to support or book time with a human.

We will keep the article or page context with your request so support can respond faster.
Read this page as a quick path: scan the headings, use the step blocks, and escalate if the expected result does not happen.
Need help applying this to your account?

Contact support and we will keep this article attached to your request.

Use the qualification endpoint to programmatically mark a lead as qualified from your own system when a conversion event occurs.

Endpoint

Qualifying a lead

Unqualifying a lead

Set "qualified": false to revert a lead to Pending status — useful for handling refunds or cancellations.

Identifier options

You can identify the lead using:
  • email + campaign_id
  • id (Referral Factory internal user ID)
  • code (the referral code embedded in their link)

Best practices

  • Call this endpoint from your server-side payment processing code, immediately after a successful payment is confirmed
  • Build in idempotent behaviour: if your system retries on failure, ensure the same lead isn't qualified twice
  • Log API responses for debugging — a 200 response confirms the status change was applied
Still need help?

Send this article to support

A human can review the article you were reading and help with the exact next step.

Article feedback

Did this answer your question?

Your vote helps support spot weak articles, fix missing steps, and decide when a person should step in.