Skip to main content
GET
/
api
/
matching
/
candidates
curl --request GET \
  --url 'https://api.harmonyforstaffing.com/api/matching/candidates?jobId=123' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "location": {
      "zipCode": "94143",
      "radius": 25,
      "states": ["CA"],
      "requireLocalCandidates": true
    },
    "specialties": ["icu", "er"],
    "criteria": [
      {
        "description": "Must have 2 years of ICU nursing experience",
        "importance": "required",
        "type": "experience"
      },
      {
        "description": "Current ACLS certification required",
        "importance": "required",
        "type": "certification"
      }
    ],
    "replaceCriteria": false,
    "minScore": 70
  }'
{
  "candidates": [
    {
      "id": 456,
      "location": {
        "city": "San Francisco",
        "state": "CA",
        "zipCode": "94143",
        "distance": 5.2
      },
      "screening": {
        "currentScore": 85.5,
        "potentialScore": 100,
        "disqualify": false,
        "summary": {
          "screeningSummary": "Strong candidate with extensive ICU experience...",
          "followUpQuestions": [
            "Are you comfortable with rotating shifts?",
            "Can you start by June 1st?"
          ],
          "strengths": [
            "Exceeds experience requirements",
            "All required certifications current",
            "Local candidate within 10 miles"
          ],
          "gaps": [
            "No recent pediatric experience"
          ]
        },
        "questions": [
          {
            "id": 1,
            "source": "job_criteria",
            "question": "How many years of ICU nursing experience do you have?",
            "criteria": "Minimum of 2 years ICU nursing experience required",
            "type": "YearsOfExperience",
            "status": "FullyMet",
            "reasoning": "The candidate has 5 years of ICU experience...",
            "textEvidence": "5 years of experience in Medical ICU at Saint Francis Hospital"
          }
        ]
      },
      "qualificationLevel": "Appropriate",
      "isRelevant": true
    }
  ],
  "total": 12,
  "limit": 20,
  "offset": 0
}
Find and screen candidates that match a job’s requirements. Results are automatically screened and ranked by match percentage.

Query Parameters

jobId
integer
required
ID of the job to find candidates for

Body Parameters

location
object
Location requirements for candidates
specialties
array
Required specialties (e.g., [“icu”, “er”, “pediatrics”])
replaceCriteria
boolean
default:"false"
If true, provided criteria replace job criteria. If false, they are added to job criteria.
criteria
array
Additional screening criteria
minScore
number
default:"60"
Minimum match score (0-100)
limit
integer
default:"20"
Maximum number of candidates to return
offset
integer
default:"0"
Number of candidates to skip for pagination
curl --request GET \
  --url 'https://api.harmonyforstaffing.com/api/matching/candidates?jobId=123' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "location": {
      "zipCode": "94143",
      "radius": 25,
      "states": ["CA"],
      "requireLocalCandidates": true
    },
    "specialties": ["icu", "er"],
    "criteria": [
      {
        "description": "Must have 2 years of ICU nursing experience",
        "importance": "required",
        "type": "experience"
      },
      {
        "description": "Current ACLS certification required",
        "importance": "required",
        "type": "certification"
      }
    ],
    "replaceCriteria": false,
    "minScore": 70
  }'

Response Fields

candidates
array
Array of matching candidates with screening results
total
integer
Total number of matching candidates found
limit
integer
Maximum number of candidates returned
offset
integer
Number of candidates skipped
{
  "candidates": [
    {
      "id": 456,
      "location": {
        "city": "San Francisco",
        "state": "CA",
        "zipCode": "94143",
        "distance": 5.2
      },
      "screening": {
        "currentScore": 85.5,
        "potentialScore": 100,
        "disqualify": false,
        "summary": {
          "screeningSummary": "Strong candidate with extensive ICU experience...",
          "followUpQuestions": [
            "Are you comfortable with rotating shifts?",
            "Can you start by June 1st?"
          ],
          "strengths": [
            "Exceeds experience requirements",
            "All required certifications current",
            "Local candidate within 10 miles"
          ],
          "gaps": [
            "No recent pediatric experience"
          ]
        },
        "questions": [
          {
            "id": 1,
            "source": "job_criteria",
            "question": "How many years of ICU nursing experience do you have?",
            "criteria": "Minimum of 2 years ICU nursing experience required",
            "type": "YearsOfExperience",
            "status": "FullyMet",
            "reasoning": "The candidate has 5 years of ICU experience...",
            "textEvidence": "5 years of experience in Medical ICU at Saint Francis Hospital"
          }
        ]
      },
      "qualificationLevel": "Appropriate",
      "isRelevant": true
    }
  ],
  "total": 12,
  "limit": 20,
  "offset": 0
}