{"id":16967708,"url":"https://github.com/whapi-cloud/whatsapp-api-send-poll-example","last_synced_at":"2026-05-15T12:03:44.682Z","repository":{"id":224982024,"uuid":"764763910","full_name":"Whapi-Cloud/whatsapp-api-send-poll-example","owner":"Whapi-Cloud","description":"Simple and straightforward source code that you can use in your integration or survey response bot.","archived":false,"fork":false,"pushed_at":"2024-02-28T17:11:03.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T01:07:39.165Z","etag":null,"topics":["buttons","polls","whatsapp","whatsapp-api","whatsapp-bot","whatsappbot"],"latest_commit_sha":null,"homepage":"https://support.whapi.cloud/help-desk/how-to/how-to-use-polls-as-buttons","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whapi-Cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-28T17:04:25.000Z","updated_at":"2024-11-14T10:23:27.000Z","dependencies_parsed_at":"2024-02-28T18:31:12.965Z","dependency_job_id":"3d65a0e9-32d7-4e08-9a57-13b463be0591","html_url":"https://github.com/Whapi-Cloud/whatsapp-api-send-poll-example","commit_stats":null,"previous_names":["whapi-cloud/whatsapp-api-send-poll-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Whapi-Cloud/whatsapp-api-send-poll-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whapi-Cloud%2Fwhatsapp-api-send-poll-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whapi-Cloud%2Fwhatsapp-api-send-poll-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whapi-Cloud%2Fwhatsapp-api-send-poll-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whapi-Cloud%2Fwhatsapp-api-send-poll-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whapi-Cloud","download_url":"https://codeload.github.com/Whapi-Cloud/whatsapp-api-send-poll-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whapi-Cloud%2Fwhatsapp-api-send-poll-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263641608,"owners_count":23493420,"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":["buttons","polls","whatsapp","whatsapp-api","whatsapp-bot","whatsappbot"],"created_at":"2024-10-14T00:09:28.465Z","updated_at":"2026-05-15T12:03:39.632Z","avatar_url":"https://github.com/Whapi-Cloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Creating polls as an alternative to interactive buttons in WhatsApp\nInteractive buttons in WhatsApp are a very handy tool for working with customers. \nFor the user, polls and interactive buttons are functionally similar. And the mechanism of working with a poll is very similar to that of buttons.\nWe have prepared a simple and easy to understand source code for you to implement in your survey response integration or bot.\n\n### A detailed article on how to use polls as buttons in WhatsApp\nhttps://support.whapi.cloud/help-desk/how-to/how-to-use-polls-as-buttons\n\n## Getting Started\nhttps://support.whapi.cloud/help-desk/getting-started/getting-started\n### How to Connect to Whapi.Cloud\nRegistration. The first step is to register on the Whapi.Cloud website and create an account. \u003cb\u003eIt's free and doesn't require you to enter a credit card.\u003c/b\u003e\nAfter registration you will immediately have access to a test channel with a small limitation. Wait for it to start (it usually takes about a minute). You will need to connect your phone for Whatsapp automation. It is from the connected phone that messages will be sent. The big advantage of the service is that it takes only a couple of minutes to launch and start working.\n\nTo connect your phone, use the QR code available when you click on your trial channel in your personal account. Then open WhatsApp on your mobile device, go to Settings -\u003e Connected devices -\u003e Connect device -\u003e Scan QR code.\n\nIn the second and third steps, the service will ask you to customize the channel: write its name for your convenience, set webhooks, change settings. All these steps can be skipped, and we will come back to webhooks a little later. After launching, you will find in the center block under the information about limits, your API KEY, that is Token. This token will be used to authenticate your API requests. Generally, it's added to the request headers as a Bearer Token or simply as a request parameter, depending on the API method you're using.\n\nWorking with hooks: https://support.whapi.cloud/help-desk/guides/complete-guide-to-webhooks-on-whatsapp-api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhapi-cloud%2Fwhatsapp-api-send-poll-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhapi-cloud%2Fwhatsapp-api-send-poll-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhapi-cloud%2Fwhatsapp-api-send-poll-example/lists"}