Sending Push API with to all or a group of devices

Hi, I am trying to use API to send push notification for my app. According to the documents, I know how to send push to a special user by devices tokens. Can I send to all devices or a groups of devices using the push API?