Public API Documentation

REST API specification for integrating portfolio data into the website frontend

GET

Projects List

Fetches all active, published portfolio case studies configured inside the project ledger.

projects.php?action=fetch_projects
Request Parameters

None. This is a public read-only query that returns all entries where status is active (`status = 1`) and non-deleted.

HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Single Project case study

Retrieves details for a single portfolio project case study. Internally, database primary keys (`sno`), client IDs (`client_id`), and soft-delete parameters are hidden.

projects.php?action=fetch_single_project&slug=web-company-presentation
Request Query Parameters
Parameter Type Required Description
slug String Required* The unique SEO-friendly slug of the project (e.g. web-company-presentation). Preferred method.
id Integer Optional The internal database record SNO (e.g. 3). Evaluated only if slug parameter is absent.
HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Testimonials Grid

Retrieves verified user reviews and ratings to display as client feedback grids.

testimonials.php?action=fetch_testimonials
Request Parameters

None. Retrieves active and non-deleted testimonial reviews sorted in descending order.

HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Team Members roster

Returns active team profiles configured with public social link metadata, avatars, and brief case-study biographies.

userHandler.php?action=get_team
Request Parameters

None. Filters user records where is_team = 1, status is 'active', and the record is not deleted.

HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Public Invoice Verification

Fetches details of a specific invoice. Internal database primary key SNO numbers and administrative WhatsApp notification links are automatically stripped from this response to secure private company transaction records.

invoiceHandler.php?action=getInvoice&invoice_id=INVB4G20260531-001
Request Query Parameters
Parameter Type Required Description
invoice_id String Required* The formatted alphanumeric invoice verification string (e.g. INVB4G20260531-001).
HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Partners List

Retrieves active, non-deleted partners or collaborators configuration data for the website frontend.

partners.php?action=fetch_partners
Request Parameters

None. This is a public read-only query that returns all entries where the record is not deleted (`is_deleted = 0`).

HTTP RESPONSE PAYLOAD (JSON)

                        
GET

Letter verification

Fetches details of a specific official letter. Internal database primary key SNO numbers and administrative user details are stripped or adjusted to ensure security while permitting verification of official correspondence.

letterHandler.php?action=get_letter_by_no&letter_no=B4G-LTR-2026-0001
Request Query Parameters
Parameter Type Required Description
letter_no String Required* The formatted letter reference number (e.g. B4G-LTR-2026-0001).
HTTP RESPONSE PAYLOAD (JSON)