Skip to main content
POST
/
create_session
Create Session
curl --request POST \
  --url https://api.techinterviewer.ai/create_session \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "interview_config_id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "<string>",
  "phone_number": "<string>",
  "worker_id": "<string>",
  "shift_id": "<string>"
}'
{
  "unique_session_id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
interview_config_id
string
required
first_name
string
required
last_name
string
required
email
string | null
phone_number
string | null
worker_id
string | null
shift_id
string | null

Response

Successful Response

unique_session_id
string
required