# Get prescreening templates Retrieve prescreening templates with optional filtering and pagination Endpoint: GET /prescreening_templates Version: 1.1.1 Security: BearerAuth ## Query parameters: - `templateIds` (array) Filter by comma-separated list of template IDs Example: ["123e4567-e89b-12d3-a456-426614174000"] - `accountId` (string) Filter by account ID Example: "4b88ff32-8ba0-4bbf-8e60-c789909ac176" - `isDefault` (boolean) Filter by default template status Example: true - `limit` (integer) Maximum number of items to return per page (default 50, max 100) Example: 25 - `page_number` (integer) Page number for pagination (0-indexed, default 0) Example: 1 ## Response 200 fields (application/json): - `id` (string, required) Unique identifier for the prescreening template Example: "123e4567-e89b-12d3-a456-426614174000" - `name` (string, required) Name of the prescreening template Example: "Default Template" - `rules` (object, required) Rules for prescreening - `rules.minimumCreditScore` (number) Minimum credit score required Example: 600 - `rules.minimumIncomeRentMultiplier` (number) Minimum income as multiple of rent Example: 2.5 - `rules.enableVoIPPhoneVerification` (boolean) Whether to enable VoIP phone verification Example: true - `rules.enableIDVerification` (boolean) Whether to enable ID verification Example: true - `rules.enableSelfieVerification` (boolean) Whether to enable selfie verification Example: true - `rules.allowIDWithoutExpiryDate` (boolean) Whether to allow IDs without expiry date - `rules.allowIDExpiredInDays` (number) Number of days an expired ID is still acceptable Example: 30 - `rules.minimumAge` (number) Minimum age required Example: 18 - `rules.enableShowingLocationVerification` (boolean) Whether to enable showing location verification Example: true - `questions` (array, required) List of prescreening questions Example: [{"fixedQuestionType":"housing_voucher","question":"Do you have a housing voucher (e.g. Section 8)?","type":"yes_no","rejectAnswers":[]},{"question":"Have you been convicted of a felony?","type":"yes_no","rejectAnswers":["Yes"]}] - `questions.fixedQuestionType` (string) Fixed question type (if any) Example: "housing_voucher" - `questions.question` (string) Question text Example: "Do you have a housing voucher (e.g. Section 8)?" - `questions.type` (string) Question type Example: "yes_no" - `questions.rejectAnswers` (array) Answers that cause rejection Example: ["Yes"] - `isDefault` (boolean, required) Whether this is the default template Example: true - `accountId` (string, required) ID of the account that owns the template Example: "4b88ff32-8ba0-4bbf-8e60-c789909ac176" - `createdAt` (string, required) Timestamp when the template was created Example: "2023-01-15T12:00:00Z" - `updatedAt` (string, required) Timestamp when the template was last updated Example: "2023-01-16T14:30:00Z" ## Response 400 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (array) Detailed error information Example: [{"keyword":"required","dataPath":"","schemaPath":"#/required","params":{"missingProperty":"account_id"},"message":"should have required property 'account_id'"}] ## Response 401 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (array) Detailed error information Example: [{"keyword":"required","dataPath":"","schemaPath":"#/required","params":{"missingProperty":"account_id"},"message":"should have required property 'account_id'"}] ## Response 500 fields (application/json): - `error` (string, required) Error message Example: "Invalid request parameters" - `details` (array) Detailed error information Example: [{"keyword":"required","dataPath":"","schemaPath":"#/required","params":{"missingProperty":"account_id"},"message":"should have required property 'account_id'"}]