# Return Schedule By ProfileId And ScheduleId Returns a schedule by profileId and scheduleId. Endpoint: GET /compliance/kyc-protect/profiles/{profileId}/schedules/{scheduleId} Version: 1.10.9 Security: bearerToken ## Path parameters: - `profileId` (string, required) id of the profile - `scheduleId` (string, required) id of the schedule ## Response 200 fields (application/json): - `totalSize` (integer) - `items` (array) - `items.id` (string) The id of the schedule - `items.searchId` (string) The id of the search that was being scheduled - `items.isEmailRequired` (boolean) Indicates whether the schedule requires an email to be sent when the search is run - `items.emailRecipients` (array) The email recipients that the email should be sent to when the search is run - `items.createdById` (integer) The id of the user who created the schedule - `items.createdAt` (string) The time the schedule was created - `items.createdBy` (string) The name of the user who created the schedule - `items.modifiedById` (integer) The id of the user who last modified the schedule - `items.modifiedAt` (string) The time the schedule was last modified - `items.modifiedBy` (string) The name of the user who last modified the schedule - `items.type` (string) The type of the schedule, i.e. business or individual - `items.name` (object) The name used in the search criteria - `items.firstName` (object) The first name used in the search criteria - `items.middleName` (object) The middle name used in the search criteria - `items.lastName` (object) The last name used in the search criteria - `items.gender` (object) The gender used in the search criteria, i.e. male or female - `items.dateOfBirth` (object) The date of birth used in the search criteria - `items.countries` (array) The list of country codes used in the search criteria - `items.threshold` (integer) The threshold used in the search criteria - `items.datasets` (array) The datasets used in the search criteria - `items.pepTiers` (array) The pep tiers used in the search criteria, i.e. pepTier1, pepTier2, pepTier3 - `items.correlationId` (string) A unique ID assigned to this request. ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden"