Completed

Whatsapp Integration Microservice Development

Published on the September 03, 2024 in IT & Programming

About this project

Open

We are looking for a freelancer to develop a Dockerized microservice that integrates our tool with WhatsApp using the Baileys library. The service will handle WhatsApp authentication via QR code and enable message sending with response buttons, communicating with our backend via callback URLs.

Project overview

Project Scope Microservice Requirements: Containerization: The microservice should be deployed within a Docker container. API Endpoints: /createToken (callbackURL, userid) Method: POST Input: JSON payload containing: { callbackURL: string, userid: string } Output: JSON response containing: { qrcode: <base64 qrcode> } Functionality: This endpoint should generate a QR code for WhatsApp authentication. When the qr code is scanned successfully, the microservice should send a post request to $callbackurl with the following payload: { wp_auth_token: <base64 authtoken> } the url should be constructed as: post http://callbackurl/configwp/userid /sendmessage (callbackurl, userid, wp_auth_token, message, phone, eventid) method: post input: json payload containing: { callbackurl: string, userid: string, wp_auth_token: string, message: string, phone: string, eventid: string } output: json response containing: { status: "sent" | "error" } functionality: this endpoint should send $message to $phone via whatsapp. The message must include buttons for "Yes" and "No". After the user responds, the microservice should send a POST request to $callbackURL with the user's response and the event ID. The url should be constructed as: post http://callbackurl/wpresponse/eventid the payload should be: { response: "yes" | "no" } deliverables docker container image with the implemented microservice. Well-documented API endpoints and instructions for running the container. Source code repository (e.g., GitHub) for the microservice with clear documentation. Qualifications Experience with JavaScript/TypeScript and Node.js. Familiarity with the Baileys library for WhatsApp Web API integration. Proficiency in Docker for containerization. Experience in developing and consuming RESTful APIs. Proposal Submission Please include the following in your proposal: Timeline: Estimated time to complete the project. Budget: Your proposed rate for the project. Experience: Relevant projects or examples of similar work. Approach: Brief description of how you plan to implement the solution. Deadline for Submission Please submit your proposal by [insert deadline date]. We look forward to receiving your proposals and selecting a qualified freelancer to collaborate with us on this exciting project. Our company needs to implement a microservice that connects our system to WhatsApp for user communication. The project involves creating an http api within a docker container, utilizing the baileys library for whatsapp integration. The service should allow QR code authentication, message sending with interactive buttons, and handle user responses through specified callback URLs. We are seeking a developer experienced in Node.js, RESTful APIs, and Docker to deliver this solution.

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
API Integrations Other (Other APIs)
Roles needed Developer

Delivery term: September 13, 2024

Skills needed