GatewayAPI & Keys
NO

Developer API & SDK Console

REST v1.2 • Enterprise Core

Otentikasi HTTP request, kelola API Key rahasia, dan eksplorasi spesifikasi endpoint gateway lengkap.

Production Secret API Key

Gunakan token ini pada header HTTP x-api-key atau Authorization: Bearer <KEY>.

TOKEN:key_live_••••••••••••••••4321
x-api-key: key_live_notif...
Authorization: Bearer key_live_notif...
Code Implementation Example
curl -X POST https://api.notifora.com/api/messages/send \
  -H "x-api-key: key_live_notifora_gateway_demo_987654321" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": "628123456789",
    "content": "Pilih menu makan siang:",
    "messageType": "poll",
    "pollOptions": ["Nasi Padang", "Ayam Geprek", "Mie Goreng"]
  }'

Supported Message Types & Payload

FieldTypeRequiredDescription
recipientstringYesNomor tujuan format internasional (628123456789) atau Group JID (xxx@g.us).
contentstringYesTeks pesan, caption media, atau judul pertanyaan polling.
messageTypestringOptionaltext, image, video, audio, document, location, poll, contact, reaction. Default: text.
mediaUrlstringConditionalURL direct berkas untuk image, video, audio, atau document.
pollOptionsstring[]ConditionalArray pilihan opsi jawaban saat messageType = poll.
latitude & longitudenumberConditionalKoordinat lokasi saat messageType = location.
targetWaIdstringConditionalID pesan target saat mengirim reaksi emoji (reaction).