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

Validate a Device Key

GET /api/verify-device-key

Checks that the Bearer Device Key is valid and returns minimal session info. Returns 401 UNAUTHORIZED if the key is unknown.

  • Auth: Bearer Device Key

Request

curl https://app.rapiwa.com/api/verify-device-key \
  -H "Authorization: Bearer YOUR_DEVICE_KEY"

Response

{
  "success": true,
  "valid": true,
  "session": { "id": "1024", "phone_number": "8801234567890", "status": "connected" }
}
Last Updated: 7/7/26, 8:31 AM
Prev
Get Session Info
Next
Log Out