Developer API & SDK Console
REST v1.2 • Enterprise CoreOtentikasi 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
| Field | Type | Required | Description |
|---|---|---|---|
| recipient | string | Yes | Nomor tujuan format internasional (628123456789) atau Group JID (xxx@g.us). |
| content | string | Yes | Teks pesan, caption media, atau judul pertanyaan polling. |
| messageType | string | Optional | text, image, video, audio, document, location, poll, contact, reaction. Default: text. |
| mediaUrl | string | Conditional | URL direct berkas untuk image, video, audio, atau document. |
| pollOptions | string[] | Conditional | Array pilihan opsi jawaban saat messageType = poll. |
| latitude & longitude | number | Conditional | Koordinat lokasi saat messageType = location. |
| targetWaId | string | Conditional | ID pesan target saat mengirim reaksi emoji (reaction). |