Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.humanly.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

This page provides code examples in multiple languages for common Gather API operations. Use these examples as starting points for your integration.

Authentication

# Set your API key
API_KEY="qapi_your-api-key-here"

# Make request
curl -X GET https://api.prod.qualifi.hr/qsi/gather/questions \
  -H "x-api-key: ${API_KEY}"

Create Question

curl -X POST https://api.prod.qualifi.hr/qsi/gather/questions \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "user-uuid",
    "title": "Tell me about yourself",
    "questionScript": "Tell me about yourself and your background.",
    "audioURL": "https://example.com/audio/question1.mp3"
  }'

Create Interview

curl -X POST https://api.prod.qualifi.hr/qsi/gather/interviews \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Software Engineer Interview",
    "displayName": "Software Engineer Interview",
    "interviewType": "standard",
    "questionIds": ["question-id-1", "question-id-2"]
  }'

Create Candidate and Send Invite

# Create candidate
curl -X POST https://api.prod.qualifi.hr/qsi/gather/candidates \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "phone": "+1234567890"
  }'

# Create candidate interview and send invite
curl -X POST https://api.prod.qualifi.hr/qsi/gather/candidate-interviews \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "candidateId": "candidate-id",
    "interviewId": "interview-id",
    "sendInvite": true,
    "deliveryTypes": ["email"]
  }'

Get Interview Results

curl -X GET https://api.prod.qualifi.hr/qsi/gather/candidate-interviews/{id}/results \
  -H "x-api-key: ${API_KEY}"

Create Team

curl -X POST https://api.prod.qualifi.hr/qsi/gather/teams \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "teams": [
      {
        "name": "Engineering Team",
        "displayName": "Engineering",
        "description": "Engineering and development team"
      }
    ]
  }'

Create User

curl -X POST https://api.prod.qualifi.hr/qsi/gather/users \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "users": [
      {
        "firstName": "John",
        "lastName": "Doe",
        "email": "john.doe@example.com",
        "teamIds": ["team-uuid"]
      }
    ]
  }'

Copy Interview

curl -X POST https://api.prod.qualifi.hr/qsi/gather/interviews/{interviewId}/copy \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "teamId": "target-team-uuid",
    "copyKeywords": false
  }'

List Survey Questions

curl -X GET "https://api.prod.qualifi.hr/qsi/gather/survey-questions?page=0&pageSize=50" \
  -H "x-api-key: ${API_KEY}"

Get Analytics

curl -X GET "https://api.prod.qualifi.hr/qsi/gather/analytics?startDate=2024-01-01&endDate=2024-01-31" \
  -H "x-api-key: ${API_KEY}"

Update Team Branding

curl -X PATCH https://api.prod.qualifi.hr/qsi/gather/teams/{teamId}/branding \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "accentColor": "482eeb",
    "teamButtonColor": "ffffff",
    "logoUrl": "https://example.com/logo.png"
  }'

API Reference

Complete API reference documentation

Quick Start

Get started with the API