Amazon sns Push notification

Is there any way to get the push notification to work without manually adding the device token in SNS amazon setup?Any help would be great

SNS Docs have examples for creation of Applications and EndPoints using HTTP POST.

https://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html