curl --request POST \ --url https://engine.diarupt.ai/create-session \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "face": "obama", "profile": "interviewer", "behavior": "Assume the role of a doctor. You'\''re conducting an examination.", "time_limit": 300, "context": "- Candidate Name is Jon. - Position is Software Engineer."}'
Copy
{ "session_id": "1234567890abcdef"}
Session
Create Session
Creates a new Interaction Session
POST
/
create-session
cURL
Copy
curl --request POST \ --url https://engine.diarupt.ai/create-session \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "face": "obama", "profile": "interviewer", "behavior": "Assume the role of a doctor. You'\''re conducting an examination.", "time_limit": 300, "context": "- Candidate Name is Jon. - Position is Software Engineer."}'