# code-chat-br/whatsapp-api

CodeChat - WhatsApp Api

Repository: https://github.com/code-chat-br/whatsapp-api
Canonical: https://ross.abutalabs.com/products/code-chat-br-whatsapp-api
Homepage: https://docs.codechat.dev
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: api, api-rest, automotion, chat, communication, nodejs, whatsapp, whatsapp-api, whatsapp-bot
Last push: 2026-07-11T16:18:59+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 60, longevity 98
- inputs: {"age_days": 1375, "days_push": 53, "days_rel": 110, "gap_med": 165, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1282, forks 394 (observed 2026-08-28T04:04:14.050010+00:00)

## What it is
CodeChat is a self-hosted REST API service built on the Baileys library that exposes WhatsApp functionality (instances, messaging, chats, groups, media, calls, webhooks) over HTTP. It lets developers integrate WhatsApp into any system without writing Node.js code, managing multiple isolated WhatsApp sessions via JWT-authenticated instances.

## Use cases
- send and receive whatsapp messages from my app via rest api
- self-host a whatsapp api server with multi-instance support
- build a whatsapp chatbot without writing javascript
- integrate whatsapp notifications into my crm via webhooks
- manage multiple whatsapp numbers with one api
- send bulk whatsapp messages with a queue
- connect whatsapp using qr code or pairing code programmatically

## When to choose
- you need programmatic WhatsApp access from any language via REST
- you want to self-host and control your own WhatsApp gateway
- you need multi-tenant or multi-number instance management
- you want webhook and websocket event delivery for incoming messages

## When to avoid
- you need an officially supported WhatsApp Business API with guaranteed compliance
- you cannot accept the risk of unofficial automation being blocked by WhatsApp
- you need a managed SaaS rather than running Docker, PostgreSQL, and Node.js yourself

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, chatbot, webhook, websocket
- domain: messaging-platforms, apis, backend, self-hosted
- platform: self-hosted
- tags: whatsapp, baileys, rest-api, multi-instance, whatsapp-business, unofficial-api, automation, nodejs, docker, web-server

## Member repositories
- code-chat-br/whatsapp-api (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.050010+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:57:41.534201+00:00, confidence not recorded.
  - readme: https://github.com/code-chat-br/whatsapp-api (fetched 2026-08-28T04:04:14.050010+00:00, sha 581cdb89f663)
  - homepage: https://docs.codechat.dev (fetched 2026-08-29T12:13:08.078915+00:00, sha 4c460025232a)
  - site_page: https://docs.codechat.dev/docs (fetched 2026-08-29T12:13:08.081734+00:00, sha 643fef7cbeaa)
  - site_page: https://docs.codechat.dev/docs/changelog (fetched 2026-08-29T12:13:08.083882+00:00, sha 2e16ed8a334c)
  - site_page: https://docs.codechat.dev/docs/getting-started (fetched 2026-08-29T12:13:08.085684+00:00, sha abb7a4b59e84)
  - site_page: https://docs.codechat.dev/docs/environment (fetched 2026-08-29T12:13:08.087386+00:00, sha 30ead7aa1d80)
  - site_page: https://docs.codechat.dev/docs/creating-instance (fetched 2026-08-29T12:13:08.089570+00:00, sha 20a0488bfbcf)
  - site_page: https://docs.codechat.dev/docs/connecting-whatsapp (fetched 2026-08-29T12:13:08.091375+00:00, sha 7e1e6d5ab18c)
  - site_page: https://docs.codechat.dev/docs/first-message (fetched 2026-08-29T12:13:08.093080+00:00, sha 461de7561596)
  - site_page: https://docs.codechat.dev/docs/authentication (fetched 2026-08-29T12:13:08.094687+00:00, sha 12b154c8c9a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
