get https://onesignal.com/api/v1/apps
View the details of all of your current OneSignal apps
Requires User Authentication Key
Requires your OneSignal User Auth Key, available in Account & API Keys.
1000 App Limit
If you plan to have more than 1000 Apps within OneSignal, you will need to create a separate email record for each set of 1000.
Example Code - View apps
curl --include \
--header "Authorization: Basic NGEwMGZmMjItY2NkNy0xMWUzLTk5ZDUtMDAwYzI5NDBlNjJj" \
https://onesignal.com/api/v1/apps
Result Format - View apps
[
{
id: "92911750-242d-4260-9e00-9d9034f139ce",
name: "Your app 1",
players: 150,
messageable_players: 143,
updated_at: "2014-04-01T04:20:02.003Z",
created_at: "2014-04-01T04:20:02.003Z",
gcm_key: "a gcm push key",
chrome_key: "A Chrome Web Push GCM key",
chrome_web_origin: "Chrome Web Push Site URL",
chrome_web_gcm_sender_id: "Chrome Web Push GCM Sender ID",
chrome_web_default_notification_icon: "http://yoursite.com/chrome_notification_icon",
chrome_web_sub_domain:"your_site_name",
apns_env: "sandbox",
apns_certificates: "Your apns certificate",
safari_apns_certificate: "Your Safari APNS certificate",
safari_site_origin: "The homename for your website for Safari Push, including http or https",
safari_push_id: "The certificate bundle ID for Safari Web Push",
safari_icon_16_16: "http://onesignal.com/safari_packages/92911750-242d-4260-9e00-9d9034f139ce/16x16.png",
safari_icon_32_32: "http://onesignal.com/safari_packages/92911750-242d-4260-9e00-9d9034f139ce/[email protected]",
safari_icon_64_64: "http://onesignal.com/safari_packages/92911750-242d-4260-9e00-9d9034f139ce/[email protected]",
safari_icon_128_128: "http://onesignal.com/safari_packages/92911750-242d-4260-9e00-9d9034f139ce/128x128.png",
safari_icon_256_256: "http://onesignal.com/safari_packages/92911750-242d-4260-9e00-9d9034f139ce/[email protected]",
site_name: "The URL to your website for Web Push",
basic_auth_key: "NGEwMGZmMjItY2NkNy0xMWUzLTk5ZDUtMDAwYzI5NDBlNjJj"
},
{
id: "e4e87830-b954-11e3-811d-f3b376925f15",
name: "Your app 2",
players: 100,
messageable_players: 80,
updated_at: "2014-04-01T04:20:02.003Z",
created_at: "2014-04-01T04:20:02.003Z",
gcm_key: "a gcm push key",
chrome_key: "A Chrome Web Push GCM key",
chrome_web_origin: "Chrome Web Push Site URL",
chrome_web_gcm_sender_id: "Chrome Web Push GCM Sender ID",
chrome_web_default_notification_icon: "http://yoursite.com/chrome_notification_icon",
chrome_web_sub_domain:"your_site_name",
apns_env: "sandbox",
apns_certificates: "Your apns certificate",
safari_apns_certificate: "Your Safari APNS certificate",
safari_site_origin: "The homename for your website for Safari Push, including http or https",
safari_push_id: "The certificate bundle ID for Safari Web Push",
safari_icon_16_16: "http://onesignal.com/safari_packages/e4e87830-b954-11e3-811d-f3b376925f15/16x16.png",
safari_icon_32_32: "http://onesignal.com/safari_packages/e4e87830-b954-11e3-811d-f3b376925f15/[email protected]",
safari_icon_64_64: "http://onesignal.com/safari_packages/e4e87830-b954-11e3-811d-f3b376925f15/[email protected]",
safari_icon_128_128: "http://onesignal.com/safari_packages/e4e87830-b954-11e3-811d-f3b376925f15/128x128.png",
safari_icon_256_256: "http://onesignal.com/safari_packages/e4e87830-b954-11e3-811d-f3b376925f15/[email protected]",
site_name: "The URL to your website for Web Push",
basic_auth_key: "NGEwMGZmMjItY2NkNy0xMWUzLTk5ZDUtMDAwYzI5NDBlNjJj"
}
]
{}