Rapiwa API
Guide
Sessions
Messages
Groups
Webhooks
Pricing
  • Website
  • Dashboard
  • Support
Guide
Sessions
Messages
Groups
Webhooks
Pricing
  • Website
  • Dashboard
  • Support
  • Getting Started

    • Getting Started
    • Authentication
    • Credits & Pricing
    • Rate Limits
    • Errors
  • Sessions & Devices

    • Link a Device (QR)
    • Get Session Info
    • Validate a Device Key
    • Log Out
    • List All Devices
  • Messages

    • Send a Message
    • Send Bulk Messages
    • Delete a Message
    • Check a Number on WhatsApp
  • Groups

    • Create a Group
    • List Groups
    • Get Group Metadata
    • Get Invite Link
    • Add Members
    • Join a Group
    • Leave a Group
    • Delete a Group
    • Send to a Group
  • Webhooks & Integrations

    • Inbound Messages Webhook
    • Delivery Status Webhook
    • n8n & Integrations
  • Reference

    • Pricing Catalog

List All Devices

GET /api/devices/by-api-key

List all WhatsApp devices belonging to a tenant. Unlike every other endpoint, this one authenticates with your account-level tenant API key — not a Device Key — so an integration can enumerate a customer's devices and then call the per-device endpoints with each device's own key.

  • Auth: apikey header = your tenant API key (details)
  • Rate limit: 120/min per API key

Request

curl https://app.rapiwa.com/api/devices/by-api-key \
  -H "apikey: YOUR_TENANT_API_KEY"

Response

{
  "success": true,
  "devices": [
    {
      "id": "1024",
      "name": "Sales line",
      "phone_number": "8801234567890",
      "status": "connected",
      "device_key": "ab12••••ef90"
    }
  ]
}

Masked keys

device_key is masked (first 4 + last 4 characters). The full Device Key is shown only once in the dashboard when the device is created — store it securely then. This endpoint is for discovery, not key retrieval.

Fields

FieldDescription
idDevice (session) id
nameDisplay name you gave the device
phone_numberLinked WhatsApp number (empty until first linked)
statusConnection status, e.g. connected, disconnected
device_keyMasked Device Key
Last Updated: 7/7/26, 8:31 AM
Prev
Log Out