apyhub
HR · SMART GENERATION

Interview Prep Pack API

What it does

Interview Prep Pack generates tailored interview questions from a job title and resume content. Send a candidate profile and the role you are hiring for, and it returns a set of interview questions with target answers aligned to the experience in that resume.

Use it when you want interview loops grounded in the actual background on the page, not a generic question bank. The output is a questions array, and each item includes a category, the question to ask, and a targetAnswer that highlights what a strong response should cover.

That makes it useful for recruiters, hiring managers, and internal talent teams preparing structured interviews, screening calls, or role-specific question sets. You can generate prep material for technical, behavioral, or domain-focused interviews by varying the jobTitle and the resume text you provide.

Interview Prep Pack is a good fit when you need consistent prep packs across many candidates while keeping the questions tied to the specific role and background.

POST
Generate a tailored interview prep pack
http://localhost:8080/namastesumalya/generate-a-tailored-interview-prep-pack
QUICKSTARTGUIDE

Quickstart

Send your resume content and target job title to generate a tailored interview prep pack.

curl -X POST "http://localhost:8080/namastesumalya/generate-a-tailored-interview-prep-pack" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "resumeContent": "Resume content to analyze...",
    "jobTitle": "Senior Cloud Architect"
  }'

What you'll get back

Returns a JSON object with a questions array. Each item in the array is an object with category, question, and targetAnswer string fields.

{
  "questions": [
    {
      "category": "Technical",
      "question": "Can you walk through the architectural decision-making process for choosing Lambda over EKS for this scale?",
      "targetAnswer": "Should discuss cold starts, concurrency limits, and cost-benefit analysis vs serverless."
    }
  ]
}
TRY ITLIVE · 750 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Generates a tailored interview prep pack from the provided resume content and job title. The response returns a JSON object containing a questions array of interview-question objects.

Request Body

ParameterTypeMandatoryDescription
jobTitleStringYesThe job title to tailor the prep pack for.
resumeContentStringYesThe resume content to analyze for generating the questions.

Response

Returns a JSON object with a questions array field. Each item in questions is an object with category, question, and targetAnswer string fields.

ParameterTypeMandatoryDescription
questionsObject ArrayNoThe generated interview questions. Each object includes:<br>- category: question category<br>- question: the interview question text<br>- targetAnswer: a suggested answer focus

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.