WhatsApp Sandbox

List your sandbox sessions

Changed on

Returns all of the authenticated user's non-expired sandbox sessions (pending + active) plus the sandbox phone number. In practice there is at most one session per user since the sandbox is one-phone-per-user; the array shape is preserved for forward compatibility.

get/v1/whatsapp/sandbox/sessions

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/whatsapp/sandbox/sessions
  • Auth: HTTP bearer

Response

Sessions retrieved successfully

sandboxNumberstring nullable

The shared sandbox phone number in E.164 form.

Example response

{
  "sessions": [
    {
      "phoneE164": "34688246216"
    }
  ],
  "sandboxNumber": "+12029087457"
}

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status