PHPackages                             cayeye/whatsapp-business-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. cayeye/whatsapp-business-api-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cayeye/whatsapp-business-api-client
===================================

A HTTP client for the WhatsApp Business API

1306[2 issues](https://github.com/cayeye-dev/whatsapp-business-api-client/issues)PHP

Since Nov 15Pushed 6y ago4 watchersCompare

[ Source](https://github.com/cayeye-dev/whatsapp-business-api-client)[ Packagist](https://packagist.org/packages/cayeye/whatsapp-business-api-client)[ RSS](/packages/cayeye-whatsapp-business-api-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

WhatsApp Business Api Client
============================

[](#whatsapp-business-api-client)

Based on
--------

[](#based-on)

-
-

Usage
-----

[](#usage)

```
$token = 'YourAdminAuthToken';
$url = 'http://127.0.0.10:3000';
$client = new WhatsAppBusinessApiClient($token, $url);

//set webhook
$client->updateWebhook('https://yourdomain.com/webhook');
```

Available endpoints
-------------------

[](#available-endpoints)

#### Done

[](#done)

```
    //media
    POST	{{URL}}/v1/media
    GET		{{URL}}/v1/media/{{Test-Media-Id}}
    DEL		{{URL}}/v1/media/{{Test-Media-Id}}

    //Settings Application
    GET		{{URL}}/v1/settings/application
    PATCH	{{URL}}/v1/settings/application

    //Messages
    POST	{{URL}}/v1/messages/
    PUT		{{URL}}/v1/messages/

    //contacts
    POST	{{URL}}/v1/contacts

    //health
    GET 	{{URL}}/v1/health

    //Settings Profile
    GET		{{URL}}/v1/settings/profile/photo
    POST	{{URL}}/v1/settings/profile/photo
    GET		{{URL}}/v1/settings/profile/about
    PATCH	{{URL}}/v1/settings/profile/about

    //Groups
    GET 	{{URL}}/v1/groups/
    POST	{{URL}}/v1/groups
    GET		{{URL}}/v1/groups/{{Test-Group-Id}}
    PUT		{{URL}}/v1/groups/{{Test-Group-Id}}
    GET		{{URL}}/v1/groups/{{Test-Group-Id}}/icon
    POST	{{URL}}/v1/groups/{{Test-Group-Id}}/icon
    DELETE  {{URL}}/v1/groups/{{Test-Group-Id}}/icon
    GET		{{URL}}/v1/groups/{{Test-Group-Id}}/invite
    DELETE	{{URL}}/v1/groups/{{Test-Group-Id}}/invite
    POST	{{URL}}/v1/groups/{{Test-Group-Id}}/leave
    DELETE	{{URL}}/v1/groups/{{Test-Group-Id}}/participants
    PATCH	{{URL}}/v1/groups/{{Test-Group-Id}}/admins
    DELETE	{{URL}}/v1/groups/{{Test-Group-Id}}/admins

```

#### TODO

[](#todo)

```
    //Settings - Backup/Restore
    PATCH	{{URL}}/v1/settings/restore
    PATCH	{{URL}}/v1/settings/backup

    //Settings - Business Profile
    POST	{{URL}}/v1/settings/business/profile
    GET		{{URL}}/v1/settings/business/profile

    //Settings - two step verification
    DEL 	{{URL}}/v1/settings/account/two-step
    POST	{{URL}}/v1/settings/account/two-step

    //Settings - Application
    DEL		{{URL}}/v1/settings/application/media/providers/
    GET		{{URL}}/v1/settings/application/media/providers
    POST	{{URL}}/v1/settings/application/media/providers
    DEL		{{URL}}/v1/settings/application
    POST	{{URL}}/v1/account/shards

    //Users
    POST     {{URL}}/v1/users
    POST     {{URL}}/v1/users/logout
    POST     {{URL}}/v1/users/login
    GET      {{URL}}/v1/users/{{UserUsername}}
    PUT      {{URL}}/v1/users/{{UserUsername}}
    DELETE   {{URL}}/v1/users/{{UserUsername}}

    //Reg
    POST	{{URL}}/v1/account
    POST	{{URL}}/v1/account/verify

    //support
    GET 	{{URL}}/v1/support

    //stats
    GET 	{{URL}}/v1/stats/db
    GET 	{{URL}}/v1/stats/db/internal
    GET 	{{URL}}/v1/stats/app
    GET 	{{URL}}/v1/stats/app/internal

    //certificates
    POST	{{URL}}/v1/certificates/external
    GET 	{{URL}}/v1/certificates/external/ca
    POST	{{URL}}/v1/certificates/webhooks/ca
    GET 	{{URL}}/v1/certificates/webhooks/ca
    DEL 	{{URL}}/v1/certificates/webhooks/ca

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/92fbda736c9e7b2a06e4d23b0e3768f3f7cec3a609540808ef5db10c348231c0?d=identicon)[dave](/maintainers/dave)

---

Top Contributors

[![davewwww](https://avatars.githubusercontent.com/u/921303?v=4)](https://github.com/davewwww "davewwww (4 commits)")

### Embed Badge

![Health badge](/badges/cayeye-whatsapp-business-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/cayeye-whatsapp-business-api-client/health.svg)](https://phpackages.com/packages/cayeye-whatsapp-business-api-client)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
