Partner Workflow

This guide describes the end-to-end flow for integrating StudyHQ assessments into a partner platform such as a CRM, admissions portal, or EdTech product.


Overview

StudyHQ supports two primary integration patterns depending on where in your funnel the assessment takes place.

Option A — Assessment Before Application

The student takes the assessment immediately after registration. Based on their results, they are shown recommended courses and prompted to complete the application.

Student registers
Partner generates assessment URL → Student takes assessment
Recommended courses shown
Student completes application form

Option B — Assessment After Payment

The student completes the application and payment first. The assessment is unlocked as a next step post-payment.

Student submits application form
Payment of ₹1,000 collected
Partner generates assessment URL → Student takes assessment
Recommended courses shown

Detailed Flow

1

Student Arrives on Partner Platform

The student lands on your platform (e.g. via landing page), registers, and enters the CRM dashboard.

2

Trigger Assessment

Based on your chosen workflow (Option A or B), your backend calls POST /partner/get-redirect-url with the student’s details to generate a unique assessment link.

3

Student Takes Assessment

Open the redirect-url in a new tab. The student completes or abandons the test on StudyHQ. No session management is required on your end.

4

Fetch Results

Call POST /partner/get-assessments-info with the student’s email to retrieve their assessment status, duration, and recommended courses.

5

Display Recommendations

Use the Recommendations array to surface personalised course options inside your platform’s dashboard or application flow.


API Reference Summary

EndpointPurpose
POST /partner/get-redirect-urlGenerate a time-bound assessment URL for a student
POST /partner/get-assessments-infoRetrieve assessment results and recommendations by email

Error Handling

HTTP StatusMeaningSuggested Action
400Missing or invalid fieldsValidate request payload before sending
401Invalid or revoked tokenCheck token credentials or request a new token
429Rate limit exceededImplement exponential backoff and retry
500Internal server errorRetry after a short delay; contact support if persistent

Assessment URLs are time-bound and single-use. Always generate a fresh URL each time a student needs to attempt the assessment — do not cache or reuse previous URLs.