Ruzora Candidate Referrals API
The candidate-referrals API from Ruzora — 7 operation(s) for candidate-referrals.
The candidate-referrals API from Ruzora — 7 operation(s) for candidate-referrals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ruzora-com:ruzora-com-candidate-referrals-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ruzora Candidate CRM Candidate Referrals API
description: Candidate pipeline, sourcing, and LinkedIn automation
version: 1.0.0
tags:
- name: candidate-referrals
paths:
/api/candidate-referrals:
post:
tags:
- candidate-referrals
summary: Submit Candidate Referral
description: 'Submit a new candidate referral
Candidates and client users can submit referrals.
Automatically calculates quality score and checks for duplicates.'
operationId: submit_candidate_referral_api_candidate_referrals_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- candidate-referrals
summary: List Candidate Referrals
description: 'List candidate referrals
Founders see all referrals.
Other users see only their own referrals.'
operationId: list_candidate_referrals_api_candidate_referrals_get
security:
- HTTPBearer: []
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by status
title: Status
description: Filter by status
- name: referrer_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by referrer type
title: Referrer Type
description: Filter by referrer type
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
title: Page
- name: per_page
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Per Page
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/candidate-referrals/my-referrals:
get:
tags:
- candidate-referrals
summary: Get My Referrals
description: Get current user's referral dashboard
operationId: get_my_referrals_api_candidate_referrals_my_referrals_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MyReferralsResponse'
security:
- HTTPBearer: []
/api/candidate-referrals/analytics:
get:
tags:
- candidate-referrals
summary: Get Referral Analytics
description: Get referral program analytics (founder only)
operationId: get_referral_analytics_api_candidate_referrals_analytics_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ReferralAnalytics'
security:
- HTTPBearer: []
/api/candidate-referrals/{referral_id}:
get:
tags:
- candidate-referrals
summary: Get Candidate Referral
description: Get single candidate referral by ID
operationId: get_candidate_referral_api_candidate_referrals__referral_id__get
security:
- HTTPBearer: []
parameters:
- name: referral_id
in: path
required: true
schema:
type: string
title: Referral Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/candidate-referrals/{referral_id}/status:
patch:
tags:
- candidate-referrals
summary: Update Referral Status
description: Update candidate referral status (founder or recruiter)
operationId: update_referral_status_api_candidate_referrals__referral_id__status_patch
security:
- HTTPBearer: []
parameters:
- name: referral_id
in: path
required: true
schema:
type: string
title: Referral Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CandidateReferralResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/candidate-referrals/{referral_id}/convert:
post:
tags:
- candidate-referrals
summary: Convert Referral To Candidate
description: Convert referral to candidate record (founder only)
operationId: convert_referral_to_candidate_api_candidate_referrals__referral_id__convert_post
security:
- HTTPBearer: []
parameters:
- name: referral_id
in: path
required: true
schema:
type: string
title: Referral Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConvertReferralRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ConvertReferralResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/candidate-referrals/{referral_id}/history:
get:
tags:
- candidate-referrals
summary: Get Candidate Referral History
description: Get status change history for a candidate referral
operationId: get_candidate_referral_history_api_candidate_referrals__referral_id__history_get
security:
- HTTPBearer: []
parameters:
- name: referral_id
in: path
required: true
schema:
type: string
title: Referral Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ConvertReferralResponse:
properties:
referral_id:
type: string
title: Referral Id
candidate_id:
type: string
title: Candidate Id
candidate_name:
type: string
title: Candidate Name
overall_score:
type: integer
title: Overall Score
description: Candidate score from scoring service
status:
type: string
title: Status
description: New referral status
message:
type: string
title: Message
description: Confirmation message
type: object
required:
- referral_id
- candidate_id
- candidate_name
- overall_score
- status
- message
title: ConvertReferralResponse
description: Response after converting referral to candidate
MyReferralsResponse:
properties:
total_referrals:
type: integer
title: Total Referrals
description: Total referrals submitted
successful_placements:
type: integer
title: Successful Placements
description: Number of referrals placed
total_rewards:
type: number
title: Total Rewards
description: Lifetime referral earnings
pending_rewards:
type: number
title: Pending Rewards
description: Pending rewards not yet paid
referrals:
items:
$ref: '#/components/schemas/CandidateReferralListItem'
type: array
title: Referrals
description: Recent referrals
type: object
required:
- total_referrals
- successful_placements
- total_rewards
- pending_rewards
title: MyReferralsResponse
description: User's referral dashboard
CandidateReferralListResponse:
properties:
referrals:
items:
$ref: '#/components/schemas/CandidateReferralListItem'
type: array
title: Referrals
total:
type: integer
title: Total
page:
type: integer
title: Page
per_page:
type: integer
title: Per Page
type: object
required:
- referrals
- total
- page
- per_page
title: CandidateReferralListResponse
description: Paginated list of candidate referrals
CandidateReferralCreate:
properties:
referred_name:
type: string
maxLength: 255
minLength: 2
title: Referred Name
description: Full name of referred person
referred_email:
type: string
format: email
title: Referred Email
description: Email of referred person
referred_linkedin_url:
anyOf:
- type: string
- type: 'null'
title: Referred Linkedin Url
description: LinkedIn profile URL
referred_github_url:
anyOf:
- type: string
- type: 'null'
title: Referred Github Url
description: GitHub profile URL
referred_skills:
anyOf:
- type: string
maxLength: 1000
- type: 'null'
title: Referred Skills
description: Comma-separated skills
referred_location:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Referred Location
description: Country/city location
referral_reason:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Referral Reason
description: Why they're a good fit
relationship:
type: string
enum:
- Former Colleague
- Friend
- Mentor/Mentee
- Other
title: Relationship
description: Relationship with referred person
current_role:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Current Role
description: Current job title
current_company:
anyOf:
- type: string
maxLength: 255
- type: 'null'
title: Current Company
description: Current employer
type: object
required:
- referred_name
- referred_email
- relationship
title: CandidateReferralCreate
description: Submit a new candidate referral
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ReferralAnalytics:
properties:
total_referrals:
type: integer
title: Total Referrals
by_status:
additionalProperties: true
type: object
title: By Status
description: Count by status
by_referrer_type:
additionalProperties: true
type: object
title: By Referrer Type
description: Count by referrer type
conversion_rate:
type: number
title: Conversion Rate
description: Percentage of referrals that got placed
avg_quality_score:
type: number
title: Avg Quality Score
avg_days_to_conversion:
anyOf:
- type: number
- type: 'null'
title: Avg Days To Conversion
total_rewards_paid:
type: number
title: Total Rewards Paid
top_referrers:
items:
additionalProperties: true
type: object
type: array
title: Top Referrers
description: Top 10 referrers with counts
type: object
required:
- total_referrals
- by_status
- by_referrer_type
- conversion_rate
- avg_quality_score
- total_rewards_paid
title: ReferralAnalytics
description: Referral program analytics (founder only)
CandidateReferralResponse:
properties:
id:
type: string
title: Id
description: Record ID
referrer_type:
type: string
title: Referrer Type
referrer_email:
type: string
title: Referrer Email
referred_name:
type: string
title: Referred Name
referred_email:
type: string
title: Referred Email
referred_linkedin_url:
anyOf:
- type: string
- type: 'null'
title: Referred Linkedin Url
referred_github_url:
anyOf:
- type: string
- type: 'null'
title: Referred Github Url
referred_skills:
anyOf:
- type: string
- type: 'null'
title: Referred Skills
referred_location:
anyOf:
- type: string
- type: 'null'
title: Referred Location
referral_reason:
anyOf:
- type: string
- type: 'null'
title: Referral Reason
relationship:
anyOf:
- type: string
- type: 'null'
title: Relationship
current_role:
anyOf:
- type: string
- type: 'null'
title: Current Role
current_company:
anyOf:
- type: string
- type: 'null'
title: Current Company
status:
type: string
title: Status
quality_score:
type: integer
maximum: 100.0
minimum: 0.0
title: Quality Score
description: Quality score 0-100
duplicate_of_candidate_id:
anyOf:
- type: string
- type: 'null'
title: Duplicate Of Candidate Id
created_candidate_id:
anyOf:
- type: string
- type: 'null'
title: Created Candidate Id
matched_placement_id:
anyOf:
- type: string
- type: 'null'
title: Matched Placement Id
reward_status:
type: string
title: Reward Status
reward_amount:
anyOf:
- type: number
- type: 'null'
title: Reward Amount
reward_paid_date:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Reward Paid Date
conversion_date:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Conversion Date
created_at:
type: string
format: date-time
title: Created At
estimated_reward:
type: string
title: Estimated Reward
description: Display text like '$500' or '10% off invoice'
status_history:
items:
additionalProperties: true
type: object
type: array
title: Status History
description: Status change audit trail
auto_reward:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Auto Reward
description: Auto-reward result if triggered
type: object
required:
- id
- referrer_type
- referrer_email
- referred_name
- referred_email
- status
- quality_score
- reward_status
- created_at
- estimated_reward
title: CandidateReferralResponse
description: Candidate referral details
CandidateReferralListItem:
properties:
id:
type: string
title: Id
referred_name:
type: string
title: Referred Name
referred_email:
type: string
title: Referred Email
status:
type: string
title: Status
quality_score:
type: integer
title: Quality Score
reward_status:
type: string
title: Reward Status
estimated_reward:
type: string
title: Estimated Reward
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- referred_name
- referred_email
- status
- quality_score
- reward_status
- estimated_reward
- created_at
title: CandidateReferralListItem
description: Simplified referral for list view
ConvertReferralRequest:
properties:
referral_id:
type: string
title: Referral Id
description: Candidate referral ID to convert
additional_notes:
anyOf:
- type: string
- type: 'null'
title: Additional Notes
description: Additional notes for candidate record
type: object
required:
- referral_id
title: ConvertReferralRequest
description: Request to convert referral to candidate
CandidateReferralUpdate:
properties:
status:
anyOf:
- type: string
enum:
- Submitted
- Under Review
- Qualified
- Contacted
- Screening
- Placed
- Rejected
- Lost
- Duplicate
- type: 'null'
title: Status
qualification_notes:
anyOf:
- type: string
- type: 'null'
title: Qualification Notes
description: Founder notes on qualification
created_candidate_id:
anyOf:
- type: string
- type: 'null'
title: Created Candidate Id
description: Candidate ID if converted
matched_placement_id:
anyOf:
- type: string
- type: 'null'
title: Matched Placement Id
description: Placement ID if placed
reward_status:
anyOf:
- type: string
enum:
- Pending
- Qualified
- Approved
- Paid
- Ineligible
- type: 'null'
title: Reward Status
reward_amount:
anyOf:
- type: number
minimum: 0.0
- type: 'null'
title: Reward Amount
description: Reward amount in USD
type: object
title: CandidateReferralUpdate
description: Update candidate referral (founder only)
securitySchemes:
HTTPBearer:
type: http
scheme: bearer