To create access control via the Daily.co API, first create a room with specific properties such as privacy and owner_only_broadcast. Then, create meeting tokens for users with different roles, including administrator, teacher, and student, each with their own set of properties to grant varying levels of access. Finally, test the tokens by adding them to meeting links, which will determine the level of camera, microphone, and screen sharing permissions available to each user.