Fetching data...
Developer API Reference
Build powerful integrations with our platform APIs.
Fetching data...
Build powerful integrations with our platform APIs.
Build powerful integrations with our platform APIs.
Dynamic API reference synchronized with our latest backend endpoints.
/api/v1/templates/{id}Updates an existing interview template configuration.
idRequiredstringThe template UUID
titlestringdescriptionstringinitial_messagestringending_messagestringstructure_templatearrayExample Request
bashcurl -X PUT "https://your-tenant.peoplelensai.com/api/v1/templates/{id}" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"title":"string","description":"string","initial_message":"string","ending_message":"string","structure_template":[{}]}'Example Response
json{
"id": "tpl-123e4567-e89b-12d3-a456-426614174000",
"name": "Frontend Behavioral Screen",
"description": "Updated standard culture-fit questions for engineers",
"initial_message": "Welcome to the interview! Let's get started.",
"ending_message": "Thanks for your time. Have a great day!",
"structure_template": [
{
"id": "1",
"text": "Tell me about a time you optimized React performance.",
"type": "technical"
}
],
"updated_at": "2026-02-25T09:00:00Z"
}/api/v1/templates/{id}Removes an interview template. Fails if the template is currently in use by active interview plans.
idRequiredstringThe template UUID
Example Request
bashcurl -X DELETE "https://your-tenant.peoplelensai.com/api/v1/templates/{id}" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json"