All Products
Search
Document Center

Chat App Message Service:GetWhatsappHealthStatus

Last Updated:Jun 10, 2026

Mengkueri status kesehatan pengiriman pesan dari berbagai jenis node.

Deskripsi operasi

Batas QPS

Operasi ini mengizinkan maksimum 5 permintaan per detik per akun. Permintaan yang melebihi batas akan dibatasi, yang dapat memengaruhi bisnis Anda. Tetap dalam batas yang ditentukan.

Operasi ini mengambil data langsung dari Meta. Meta menerapkan batas tarifnya sendiri pada jumlah total panggilan. Tetap dalam batas yang ditentukan.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

NodeType

string

Yes

Tipe node.

Nilai yang valid:

  • template: template pesan

  • phone: nomor telepon

  • waba: WhatsApp Business Account (WABA)

Valid values:

  • template :

    template

  • phone :

    phone

  • waba :

    waba

waba

PhoneNumber

string

No

Nomor telepon perusahaan.

86138***

TemplateCode

string

No

Kode template.

399299***

Language

string

No

Bahasa template.

en

WabaId

string

No

WabaId

299399****

CustSpaceId

string

Yes

ID ruang dari pengguna RAM dalam akun independent software vendor (ISV) atau ID instans dari pelanggan Alibaba Cloud.

2993****

Elemen respons

Element

Type

Description

Example

object

AccessDeniedDetail

string

Detail tentang penolakan akses.

Message

string

Pesan kesalahan.

RequestId

string

ID permintaan.

DAC72B08-3327-33EF-BEDC-8EC3E83A6575

Data

object

Data yang dikembalikan.

CanSendMessage

string

Menunjukkan apakah pesan dapat dikirim.

AVAILABLE

Entities

array<object>

Entitas yang dikueri.

array<object>

Entitas yang dikueri.

EntityType

string

The entity type.

PHONE_NUMBER

TemplateCode

string

The template code. This parameter is returned when the NodeType parameter is set to template.

939928****

Errors

array<object>

The reasons why the messages failed to be sent.

object

The reason why the messages failed to be sent.

ErrorDescription

string

The description of the error.

There is an error with the payment method.

PossibleSolution

string

The possible solution to the error.

There was an error with your payment method. Please add a new payment method to the account.

ErrorCode

string

The error code.

141006

Language

string

The template language.

en

CanSendMessage

string

Indicates whether the messages can be sent.

AVAILABLE

PhoneNumber

string

The phone number to which the messages are sent.

86138****

WabaId

string

The WABA ID. You can view the WABA ID in the Chat App Message Service console after you create the WABA.

39939***

BusinessId

string

The Business Manager ID.

3992****

Code

string

Kode respons.

  • Nilai OK menunjukkan bahwa permintaan berhasil.

  • Untuk informasi lebih lanjut tentang kode respons lainnya, lihat Kode kesalahan.

OK

Success

boolean

Menunjukkan apakah panggilan berhasil. Nilai yang valid:

  • true

  • false

true

Contoh

Respons sukses

JSONformat

{
  "AccessDeniedDetail": "无",
  "Message": "无",
  "RequestId": "DAC72B08-3327-33EF-BEDC-8EC3E83A6575",
  "Data": {
    "CanSendMessage": "AVAILABLE",
    "Entities": [
      {
        "EntityType": "PHONE_NUMBER",
        "TemplateCode": "939928****",
        "Errors": [
          {
            "ErrorDescription": "There is an error with the payment method.",
            "PossibleSolution": "There was an error with your payment method. Please add a new payment method to the account.",
            "ErrorCode": "141006"
          }
        ],
        "Language": "en",
        "CanSendMessage": "AVAILABLE",
        "PhoneNumber": "86138****",
        "WabaId": "39939***",
        "BusinessId": "3992****"
      }
    ]
  },
  "Code": "OK",
  "Success": true
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.