API Reference
Create Session
Create a new interview session.
This endpoint allows authenticated users to create a new interview session. It requires an interview_config_id in the request body. It returns a response containing the unique session ID.
phone_number is optional, but if provided, provide it in E.164 format (e.g. +12025550194)
You can construct a Session URL with the unique_session_id like so:
- Web: https://beta.techinterviewer.ai/?session={unique_session_id}
- Phone: https://beta.techinterviewer.ai/phone?session={unique_session_id} (only use if phone number is provided in the request body)
Raises 400 Bad Request if the interview_config_id is not provided. Raises 404 Not Found if the interview config does not exist.
POST
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.