Skip to content

Instantly share code, notes, and snippets.

@raghavgarg1257
Last active August 17, 2018 10:44
Show Gist options
  • Save raghavgarg1257/00b6871d53ebddb3b1727e5e7f603dac to your computer and use it in GitHub Desktop.
Save raghavgarg1257/00b6871d53ebddb3b1727e5e7f603dac to your computer and use it in GitHub Desktop.
{
"app":{
"name":"Spectrum [TEST]",
"audio_enabled":true,
"show_powered_by":true,
"active_admins":[
{
"id":"2310387",
"first_name":"Raghav",
"last_name":"Garg",
"name":"Raghav Garg",
"avatar":{
"initials":"R",
"color":"261860",
"image_urls":{
"square_25":null,
"square_50":null,
"square_128":null
},
"image_url":null
},
"has_photo_avatar":false
}
],
"team_intro":null,
"team_greeting":"Hi there 👋",
"messenger_background":"background-14",
"expected_response_delay":"The team typically replies in a few hours.",
"compact_expected_response_delay":"Typically replies in a few hours",
"sms_notifications_enabled":false,
"inbound_conversations_disabled":false,
"office_hours_response":null,
"help_center_site_url":null,
"home_screen_enabled":true,
"home_screen_load_testing_enabled":false,
"visual_refresh_enabled":true,
"new_sounds_enabled":true,
"messenger_logo_url":"https://downloads.intercomcdn.com/i/o/83776/f657f792b54005592e638122/c9c2bce82b74978a3e87079f2ce6e52b.png",
"operator_simplified_user_conditions_enabled":true,
"user_conversation_attachments_enabled":true,
"user_conversation_gifs_enabled":true,
"developer_workspace":false,
"upfront_email_collection_setting":"only_outside_of_office_hours"
},
"user":{
"id":"5b768dabaf1381a1809f532a",
"type":"user",
"role":"visitor_role",
"locale":"en",
"has_conversations":false,
"anonymous_id":"35d24f5e-064a-4b83-b65a-195c95ff09ae",
"country_code":"in",
"home_screen_card_count":0
},
"unread_conversation_ids":[
],
"unread_dismissed_conversation_ids":[
],
"client_messages":[
],
"modules":{
"messages":{
"colors":{
"base":"#00b49a",
"secondary":"#00b49a"
},
"features":{
"rtm":true,
"inbound_messages":false,
"inbound_lead_messaging":false,
"outbound_messages":false,
"inbound_lead_messaging_docs_site":false,
"realtime_catch_up":true,
"launcher_discovery_mode":true,
"transcripts":true,
"upfront_email_collection":false,
"marketo_enrichment_installed":false
},
"instant_boot_enabled":true
},
"rtm":{
"endpoints":[
"https://nexus-websocket-a.intercom.io/pubsub/5-YP6rd0x9_hNNuwzoxjZFe6pQILnB4k-n9ruV2kOsf0oqArxF3ni4VqU01oa-D-d_qhEt108_XFhNfY0tTTKeMDJt-4HWlsLGY3CX",
"https://nexus-websocket-b.intercom.io/pubsub/5-YP6rd0x9_hNNuwzoxjZFe6pQILnB4k-n9ruV2kOsf0oqArxF3ni4VqU01oa-D-d_qhEt108_XFhNfY0tTTKeMDJt-4HWlsLGY3CX"
],
"use_new_rtm_client":false
},
"troubleshooting":{
"enabled":false
},
"customization":{
"alignment":"right",
"vertical_padding":20,
"vertical_padding_android":16,
"vertical_padding_ios":20,
"horizontal_padding":20
}
}
}
curl 'https://api-iam.intercom.io/messenger/web/ping' -H 'Referer: https://testing.dashboard.spectrumapp.io/login' -H 'Origin: https://testing.dashboard.spectrumapp.io' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' --data 'app_id=z8n7ts4o&v=3&g=f4212787cd1db3b15a983e7fcc10876f8bbe6272&s=64281a8f-5f7e-4e74-b4d3-a119f065d810&i=&r=&platform=web&Idempotency-Key=031e9bb1fa3352ac&user_data=%7B%22anonymous_id%22%3A%2235d24f5e-064a-4b83-b65a-195c95ff09ae%22%7D&internal=%7B%7D&source=apiUpdate&referer=https%3A%2F%2Ftesting.dashboard.spectrumapp.io%2Flogin' --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment