API Documentation v1.0

PunguanApp Backend

Core engine for community management system. High-performance RESTful API powering the Punguan ecosystem.

Last Deployed
Jun 13, 2026 14:31

API Authentication

Required for execution

Intelligence & Auth

GET

User Profile Retrieval

https://api-punguan.simonsitompul.com/api/me

Description

Ambil data user dan organisasi berdasarkan token.

Parameters

None

Expected Response

{"status":"success", "user": {}, "organization": {}}
GET

Dashboard Stats

https://api-punguan.simonsitompul.com/api/dashboard

Description

Statistik ringkas untuk dashboard.

Parameters

None

Expected Response

{"status":"success", "stats": {}}

Entity Management

GET

List Members

https://api-punguan.simonsitompul.com/api/members

Description

Ambil data seluruh anggota.

Parameters

None

Expected Response

[{"id":1, "name":"..."}]
POST

Create Member

https://api-punguan.simonsitompul.com/api/members

Description

Tambah anggota baru.

Parameters

name (req), phone, address, group_id, member_type

Expected Response

{"status":"success"}
GET

List Transactions

https://api-punguan.simonsitompul.com/api/finance

Description

Daftar mutasi kas.

Parameters

None

Expected Response

[{"id":1, "amount":"..."}]
POST

New Transaction

https://api-punguan.simonsitompul.com/api/finance

Description

Catat uang masuk/keluar.

Parameters

amount (req), type (IN/OUT), category (req), date (req)

Expected Response

{"status":"success"}
GET

Hierarchy

https://api-punguan.simonsitompul.com/api/groups

Description

Daftar wilayah/sektor.

Parameters

mode (hierarchy/flat)

Expected Response

[{"id":1, "name":"..."}]
GET

Social Activities

https://api-punguan.simonsitompul.com/api/social

Description

Daftar santunan.

Parameters

None

Expected Response

[{"id":1, "amount":"..."}]
URL Berhasil Disalin!