https://api.freefirebd.com/api/
Authorization: Bearer <token>
]Method | Endpoint | Description | Auth |
---|---|---|---|
POST | register | āύāϤā§āύ āĻāĻāĻāĻžāϰ āϰā§āĻāĻŋāϏā§āĻā§āϰā§āĻļāύ | â |
POST | login | āĻāĻāĻāĻžāϰ āϞāĻāĻāύ (email/username/mobile + password) | â |
POST | forgot-password | āĻĢāϰāĻā§āĻ āĻĒāĻžāϏāĻā§āĻžāϰā§āĻĄ (email) | â |
POST | reset-password | āϰāĻŋāϏā§āĻ āĻĒāĻžāϏāĻā§āĻžāϰā§āĻĄ (email + token + new password) | â |
POST | logout | āϞāĻāĻāĻāĻ | â |
GET | profile | āĻāĻāĻāĻžāϰ āĻĒā§āϰā§āĻĢāĻžāĻāϞ āĻĻā§āĻāĻžāĻŦā§ | â |
PUT | profile | āĻāĻāĻāĻžāϰ āύāĻŋāĻā§āϰ āĻĒā§āϰā§āĻĢāĻžāĻāϞ āĻāĻĒāĻĄā§āĻ āĻāϰāĻŦā§ | â |
PUT | profile/password | āĻĒāĻžāϏāĻā§āĻžāϰā§āĻĄ āĻā§āĻā§āĻ | â |
Method | Endpoint | Description | Auth |
---|---|---|---|
GET | products | āϏāĻāϞ āĻĒā§āϰā§āĻĄāĻžāĻā§āĻ (active list) | â |
GET | products/{id} | āĻĒā§āϰā§āĻĄāĻžāĻā§āĻā§āϰ āĻŦāĻŋāϏā§āϤāĻžāϰāĻŋāϤ | â |
POST | products | āύāϤā§āύ āĻĒā§āϰā§āĻĄāĻžāĻā§āĻ add (admin only) | â |
PUT/PATCH | products/{id} | āĻĒā§āϰā§āĻĄāĻžāĻā§āĻ āĻāĻĒāĻĄā§āĻ (admin only) | â |
DELETE | products/{id} | āĻĒā§āϰā§āĻĄāĻžāĻā§āĻ āĻĄāĻŋāϞāĻŋāĻ (admin only) | â |
Method | Endpoint | Description | Auth |
---|---|---|---|
POST | orders | āύāϤā§āύ āĻ āϰā§āĻĄāĻžāϰ (order place) | â |
GET | orders | āύāĻŋāĻā§āϰ āϏāĻŦ āĻ āϰā§āĻĄāĻžāϰ | â |
GET | orders/{id} | āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ āĻ āϰā§āĻĄāĻžāϰ | â |
PUT/PATCH | orders/{id} | āĻ āϰā§āĻĄāĻžāϰ āĻāĻĒāĻĄā§āĻ/āϏā§āĻā§āϝāĻžāĻāĻžāϏ (admin/user) | â |
DELETE | orders/{id} | āĻ āϰā§āĻĄāĻžāϰ āĻĄāĻŋāϞāĻŋāĻ | â |
GET | admin/orders | āϏāĻŦ āĻ āϰā§āĻĄāĻžāϰ (admin only) | â |
Sample registration (curl):
curl -X POST https://api.freefirebd.com/api/register \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]","mobile":"01700000000","username":"testuser","password":"123456","password_confirmation":"123456"}'
Authenticated request (Bearer Token):
curl -H "Authorization: Bearer <token>" https://api.freefirebd.com/api/profile
Designed for FreeFireBD by Mubaly Team. Dark Mode enabled đ