Ora RepotOra Repot
Ora RepotOra Repot
Getting Started

Sending & receiving

Ora Repot
DocsQuickstart
Dashboard

Getting Started

Quickstart

You need an Ora Repot merchant with an ACTIVE OTP template and enough deposit for Rp 600. Keys are issued in Dashboard → OTP Settings.

Goal

By the end of this page you’ll have:

  1. Issued an API key.
  2. Sent an OTP to a WhatsApp number.
  3. Seen otp.sent on your webhook (optional).

Total time: under five minutes if the template is already ACTIVE.

Issue an API key

In the dashboard, open OTP Settings → API Key → Create. Copy the plaintext value immediately — Ora Repot shows it exactly once.

# Store the key in your shell — never commit it.
export ORAREPOT_KEY=orp_live_xxxxxxxxxxxxxxxxxxxxxxxx

Send your first OTP

curl -sS https://api.orarepot.com/v1/otp/send \
  -H "Authorization: Bearer $ORAREPOT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":"+628123456789","template":"otp_login"}'

Expected shape: { request_id, status, to, cost_idr }. Status starts as pending then success or failed.

What’s next

Webhooks

Stop polling. Receive otp.sent and otp.failed as they happen.
Read →

Authentication

Key rotation, where to store secrets, host rules.
Read →

Errors

insufficient_balance, template_not_active, and friends.
Read →

On this page

2026 ©Ora Repot
ProdukHargaMasuk