{"id":26057303,"url":"https://github.com/yhyasyrian/simple-api-wwebjs","last_synced_at":"2026-05-01T18:32:44.287Z","repository":{"id":281220985,"uuid":"944612985","full_name":"yhyasyrian/simple-api-wwebjs","owner":"yhyasyrian","description":"The WhatsApp Web API is a Node.js-based solution that provides a simple interface to send messages through WhatsApp Web. It allows developers to integrate WhatsApp messaging capabilities into their applications with minimal setup. The API handles QR code authentication and provides a secure endpoint for sending messages to any WhatsApp number.","archived":false,"fork":false,"pushed_at":"2026-01-16T14:06:41.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-17T04:19:31.407Z","etag":null,"topics":["laravel","nodejs","rest-api","whatsapp-api","whatsapp-web-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yhyasyrian.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T16:53:10.000Z","updated_at":"2026-01-16T14:01:42.000Z","dependencies_parsed_at":"2025-03-07T17:42:37.080Z","dependency_job_id":null,"html_url":"https://github.com/yhyasyrian/simple-api-wwebjs","commit_stats":null,"previous_names":["yhyasyrian/simple-api-wwebjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yhyasyrian/simple-api-wwebjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhyasyrian%2Fsimple-api-wwebjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhyasyrian%2Fsimple-api-wwebjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhyasyrian%2Fsimple-api-wwebjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhyasyrian%2Fsimple-api-wwebjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhyasyrian","download_url":"https://codeload.github.com/yhyasyrian/simple-api-wwebjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhyasyrian%2Fsimple-api-wwebjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["laravel","nodejs","rest-api","whatsapp-api","whatsapp-web-js"],"created_at":"2025-03-08T11:08:02.509Z","updated_at":"2026-05-01T18:32:44.258Z","avatar_url":"https://github.com/yhyasyrian.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatsApp Web API\n\nSimple API to send messages to WhatsApp using WhatsApp Web.\n\n## Install\n\n```bash\nnpm install\n```\n\n## Run\n\n```bash\nnpm run start\n```\n\n## How to use\n\n### Login\n\n1. Go to `http://localhost:3000/whatsapp/login`\n2. Scan the QR code with your WhatsApp account\n\n### Send Message\n\n1. POST: `http://localhost:3000/whatsapp/sendmessage`\n2. Body:\n\n```json\n{\n\t\"phone\": \"963957999999\", // phone number with country code\n\t\"message\": \"Hello, world!\"\n}\n```\n\n3. Headers:\n\n```json\n{\n\t\"x-password\": \"1234567890\" // password from .env\n}\n```\n\n## Notes\n\n-   The phone number must be in the format of the country code and the phone number without the + sign.\n-   The message must be in the format of the message to be sent.\n-   The password is the password from the .env file.\n\n## Integration with Laravel\n\nYou can use the following code to send a message to WhatsApp using the API.\n\n```php\nuse Illuminate\\Support\\Facades\\Http;\n$response = Http::withHeaders([\n  'x-password' =\u003e '1234567890'\n])-\u003epost('http://localhost:3000/whatsapp/sendmessage', [\n  'phone' =\u003e '963957999999',\n  'message' =\u003e 'Hello, world!',\n]);\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a new branch\n3. Make your changes and commit them\n4. Push to your branch\n5. Create a pull request\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhyasyrian%2Fsimple-api-wwebjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhyasyrian%2Fsimple-api-wwebjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhyasyrian%2Fsimple-api-wwebjs/lists"}