Contacts

Kontak

Cari info pengguna, avatar, dan kelola profil.

Endpoint kontak berada di /api/whatsapp/user/*.


GET /api/whatsapp/user/info

Ambil informasi pengguna WhatsApp berdasarkan nomor.

Query parameters

ParameterTypeRequiredKeterangan
phonestringYaNomor dengan kode negara
curl "/api/whatsapp/user/info?phone=628123456789" \
  -b "wa_token=<token>"

Response 200

{
  "code": 200,
  "results": {
    "data": [
      {
        "name": "John Doe",
        "verified_name": "",
        "status": "Hey there! I am using WhatsApp.",
        "picture_id": "12345"
      }
    ]
  }
}

GET /api/whatsapp/user/avatar

Ambil URL foto profil pengguna.

Query parameters

ParameterTypeRequiredKeterangan
phonestringYaNomor pengguna
is_previewbooleanTidakAmbil versi resolusi rendah
is_communitybooleanTidakAmbil foto komunitas
curl "/api/whatsapp/user/avatar?phone=628123456789" \
  -b "wa_token=<token>"

Response 200

{
  "code": 200,
  "results": {
    "url": "https://pps.whatsapp.net/...",
    "id": "12345",
    "type": "image"
  }
}

POST /api/whatsapp/user/avatar

Ganti foto profil device yang terhubung.

Request body (multipart/form-data)

FieldTypeRequired
imagefileYa

POST /api/whatsapp/user/pushname

Ubah nama tampilan device yang terhubung.

Request body (application/json)

FieldTypeRequiredKeterangan
namestringYaNama baru
curl -X POST /api/whatsapp/user/pushname \
  -H "Content-Type: application/json" \
  -b "wa_token=<token>" \
  -d '{"name": "CS Online"}'

GET /api/whatsapp/user/my/privacy

Lihat pengaturan privasi akun yang terhubung.

curl /api/whatsapp/user/my/privacy -b "wa_token=<token>"

Response 200

{
  "code": 200,
  "results": {
    "group_add": "all",
    "last_seen": "contacts",
    "status": "contacts",
    "profile": "contacts",
    "read_receipts": "all"
  }
}

GET /api/whatsapp/user/my/groups

Ambil daftar semua grup yang diikuti akun yang terhubung.

curl /api/whatsapp/user/my/groups -b "wa_token=<token>"

GET /api/whatsapp/user/my/newsletters

Ambil daftar newsletter/channel yang diikuti.

curl /api/whatsapp/user/my/newsletters -b "wa_token=<token>"

GET /api/whatsapp/user/my/contacts

Ambil daftar kontak yang tersimpan.

curl /api/whatsapp/user/my/contacts -b "wa_token=<token>"

GET /api/whatsapp/user/check

Cek apakah nomor terdaftar di WhatsApp.

Query parameters

ParameterTypeKeterangan
phonestringNomor yang dicek
curl "/api/whatsapp/user/check?phone=628123456789" \
  -b "wa_token=<token>"

GET /api/whatsapp/user/business-profile

Ambil profil bisnis WhatsApp Business.

Query parameters

ParameterTypeKeterangan
phonestringNomor WhatsApp Business
curl "/api/whatsapp/user/business-profile?phone=628123456789" \
  -b "wa_token=<token>"

© 2026 WAPIZ. Unofficial WhatsApp API.