message_id.POST /templates/send and campaigns already do this for you, so you only need this endpoint if you send templates through your own WhatsApp integration and bill through Cekat. Calling it with the same message_id again returns the existing reservation.curl --location '/api/templates/lock-balance' \
--header 'api_key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"message_id": "",
"phone_number": "6281234567890",
"inbox_id": "00000000-0000-4000-8000-000000000000",
"wa_template_id": "1234567890123456",
"conversation_id": "00000000-0000-4000-8000-000000000000"
}'{
"success": true,
"data": {
"billing_mode": "credit_line_prepaid",
"is_balance_locked": true,
"estimated_price": 586.5,
"currency_code": "IDR",
"to_country_code": "62",
"template_id": "1234567890123456",
"template_category": "marketing",
"inbox_id": "0f9e8d7c-6b5a-4c3d-2e1f-0a9b8c7d6e5f",
"wa_business_id": "109876543210987",
"billing_settlement_status": "pending",
"billing_lock_reference_type": "single_send",
"billing_lock_reference_id": "msg-20261012-0001"
}
}