{"id":18656722,"url":"https://github.com/zendesk/sunshine-conversations-api-quickstart-example","last_synced_at":"2025-04-11T18:31:13.072Z","repository":{"id":40505873,"uuid":"75323095","full_name":"zendesk/sunshine-conversations-api-quickstart-example","owner":"zendesk","description":"Sample code to get started with the Sunshine Conversations REST APIs","archived":false,"fork":false,"pushed_at":"2025-03-05T16:53:30.000Z","size":155,"stargazers_count":18,"open_issues_count":11,"forks_count":25,"subscribers_count":223,"default_branch":"master","last_synced_at":"2025-03-25T16:55:13.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zendesk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-01T18:59:44.000Z","updated_at":"2025-03-05T16:53:35.000Z","dependencies_parsed_at":"2025-03-05T17:31:51.830Z","dependency_job_id":null,"html_url":"https://github.com/zendesk/sunshine-conversations-api-quickstart-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fsunshine-conversations-api-quickstart-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fsunshine-conversations-api-quickstart-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fsunshine-conversations-api-quickstart-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fsunshine-conversations-api-quickstart-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zendesk","download_url":"https://codeload.github.com/zendesk/sunshine-conversations-api-quickstart-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248458431,"owners_count":21107078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:24:55.309Z","updated_at":"2025-04-11T18:31:13.065Z","avatar_url":"https://github.com/zendesk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sunshine Conversations API Examples\n\n## Get started\n\nFor a detailed guide, see the [Sunshine Conversations API Quickstart](https://developer.zendesk.com/documentation/conversations/getting-started/api-quickstart/):\n\n### Node.js\n\n1. Clone the repository\n2. Go to the _nodejs_ subdirectory\n3. Install dependencies (`npm install`)\n4. Use [ngrok](https://ngrok.com/) to create a secure tunnel to port 8000 (`ngrok http 8000` after ngrok is installed on your PC)\n5. Create a webhook and API key in Admin Center and point it at the full url for the `/messages` endpoint (e.g. `https://MY-NGROK-DOMAIN.ngrok.io/messages`)\n6. Update `index.js` to set proper values for `ZENDESK_SUBDOMAIN`, `KEY_ID` and `KEY_SECRET`\n7. Run the server (`node index`)\n8. Send messages to your Web Widget and watch the auto-replies roll in\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fsunshine-conversations-api-quickstart-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzendesk%2Fsunshine-conversations-api-quickstart-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fsunshine-conversations-api-quickstart-example/lists"}