# WhatsArab API

**Canonical:** https://apis.io/apis/whatsarab-com/whatsarab-com-api/  
**Provider:** WhatsArab — https://apis.io/providers/whatsarab-com/  
**Documentation:** https://whatsarab.com/docs

WhatsArab API is one of 2 APIs that [WhatsArab](https://apis.io/providers/whatsarab-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

WhatsArab API as documented publicly: 33 operations. Contract generated from the documentation by API Evangelist (2026-11-22); not the provider's own document.

## Operations (33)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/events` | List events |
| GET | `/api/me` | GET /api/me |
| POST | `/api/media` | Media Upload media for outbound sends and download inbound media (voice notes, images, documents). |
| GET | `/api/media/{mediaid}` | Download media Streams the raw bytes of a media object through the platform. |
| POST | `/api/otp/send` | One-time passwords |
| POST | `/api/otp/verify` | One-time passwords |
| POST | `/api/salla/notifications` | POST /api/salla/notifications |
| GET | `/tenant/audit-log` | Paginated audit trail — every operator mutation, with actor / IP / user-agent. |
| GET | `/tenant/audit-log/export.csv` | Export audit log (CSV) Last 5,000 audit events as CSV — for compliance / auditor handoff. |
| GET | `/tenant/data-exports` | Workspace data exports Owner only. The workspace's last 10 exports, newest first, with status, size, rows per file, expiry and download count. |
| POST | `/tenant/data-exports` | Export the whole workspace Owner only. Queues a ZIP of everything the workspace holds. |
| POST | `/tenant/data-exports/{id}/download` | Download a workspace export Owner only. Returns a signed link to the ready ZIP that works for 5 minutes. |
| GET | `/tenant/inbox` | List conversations |
| GET | `/tenant/inbox/{id}` | Conversation thread |
| PATCH | `/tenant/inbox/{id}` | Update conversation |
| POST | `/tenant/inbox/{id}/header-media` | Upload template header media |
| GET | `/tenant/inbox/{id}/messages` | Older thread messages |
| POST | `/tenant/inbox/{id}/notes` | Add internal note |
| POST | `/tenant/inbox/{id}/reply` | Reply |
| GET | `/tenant/inbox/{id}/transcript.csv` | Conversation transcript (CSV) |
| POST | `/tenant/inbox/bulk` | Bulk actions |
| GET | `/tenant/invites` | List invites |
| POST | `/tenant/invites` | Invite a teammate |
| DELETE | `/tenant/invites/{id}` | Cancel invite |
| GET | `/tenant/members` | List members |
| DELETE | `/tenant/members/{userid}` | Remove member |
| PATCH | `/tenant/members/{userid}` | Change member role |
| PUT | `/tenant/members/{userid}/numbers` | Set a member's numbers |
| PUT | `/tenant/members/{userid}/schedule` | Set a member's working hours |
| POST | `/tenant/members/{userid}/transfer-ownership` | Transfer ownership |
| GET | `/tenant/numbers/members` | Per-number access matrix |
| GET | `/tenant/widget` | Read the click-to-WhatsApp widget config + the embed script URL. |
| PUT | `/tenant/widget` | Update widget config |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/whatsarab-com/openapi/_ae-authored/whatsarab-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-post-api-otp-send-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-get-tenant-inbox-id-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-put-tenant-widget-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-patch-tenant-inbox-id-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-post-api-salla-notifications-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-post-tenant-inbox-bulk-request-schema.json

## Other WhatsArab APIs (1)

- [WhatsArab API](https://apis.io/apis/whatsarab-com/whatsarab-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/whatsarab-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/whatsarab-com/whatsarab-com-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/whatsarab-com/.
