Queue missing-information emails and optional interview questions
/missing-info-requestsCreates one communication activity per valid Resume request and publishes an asynchronous email-sending task to Pub/Sub. The service resolves each resume_id to its candidate email from Postgres. Outbound mail is sent from the configured shared sender, currently test@talentino.io; the provided from_email is retained for audit context but ignored for actual delivery.
The same request can attach interview questions. Catalog questions use an existing interview_question_id; ad-hoc questions use question_text. When any interview question is attached, job_match_id is required so scoring-relevant ad-hoc answers can later be promoted into interview_questions with source='custom'.
Authorization
apiKey Shared internal API key configured as CANDIDATE_MISSING_INFO_EMAILER_API_KEY.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/missing-info-requests" \ -H "Content-Type: application/json" \ -d '{ "subject": "Missing information for your application", "from_email": "soukaina@talentino.io", "template_id": 12, "missing_info_mappings": [ { "value": "address", "label": "Address" }, { "value": "availability_date", "label": "Availability Date" }, { "value": "contract_type_preferences", "label": "Contract Type" } ], "requests": [ { "resume_id": 5627, "requested_info": [ "address", "availability_date", "contract_type_preferences" ], "body": "Hello,\\n\\nPlease reply with your address, availability date, and contract type preferences.", "interview_questions": [] } ] }'{ "success": true, "message": "Bulk request processed (best-effort). Some items may have failed.", "summary": { "total": 1, "queued": 1, "failed": 0 }, "results": [ { "resume_id": 5627, "success": true, "activity_id": 6, "pubsub_message_id": "12610439860543142", "error": null } ]}{ "detail": "string"}{ "detail": "string"}{ "detail": "string"}