POST
/
interview
/
invite
curl --request POST \
  --url https://public.api.micro1.ai/interview/invite \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "interview_id": "123e4567-e89b-12d3-a456-426614174000",
  "candidates": [
    {
      "name": "John Doe",
      "email": "candidate@example.com"
    }
  ]
}'
{
  "status": true,
  "message": "Invitations sent successfully",
  "data": {
    "invitations": [
      {
        "candidate_id": "123e4567-e89b-12d3-a456-426614174000",
        "candidate_email": "candidate@example.com",
        "invite_url": "https://interview.micro1.ai/intro/micro1?cid=123e4567-e89b-12d3-a456-426614174000"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

API key to access the API

Body

application/json
Request body to create an interview
interview_id
string
required

The ID of the interview to invite candidates to

candidates
object[]
required

The list of candidates to invite

Response

200
application/json
Successful response
status
boolean

The status of the invitation

message
string

The message of the invitation

data
object

The data of the invitation