POST
/
mock
/
interview
curl --request POST \
  --url https://public.api.micro1.ai/mock/interview \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "skills": [
    {
      "name": "React",
      "description": "Must be proficient in React Context API"
    }
  ]
}'
{
  "status": "true",
  "message": "Sample interview question fetched successfully",
  "data": [
    {
      "skill": "React",
      "questions": [
        "What is React?"
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key to access the API

Body

application/json
Array of skills with name and description

Request to get a sample interview question

skills
object[]
required

Required skills for the mock interview (max 5)

Example:
[
  {
    "name": "React",
    "description": "Must be proficient in React Context API"
  }
]

Response

200
application/json
Successful response

Response for getting a sample interview question

status
boolean

Status of the response

Example:

"true"

message
string

Message of the response

Example:

"Sample interview question fetched successfully"

data
object[]

List of sample interview questions

Mock interview question object