Project
Get Project Details
Retrieve the details of the authenticated project
Endpoint
GET /api/project/detailsExample
curl https://sms.lamah.com/api/project/details \
-H "Authorization: Bearer YOUR_API_TOKEN"Response
{
"project_name": "RealEstate SMS",
"description": "Property notifications and OTPs",
"company": "Lamah Co",
"status": "active",
"type": "production",
"subscription": [
{
"plan_name": "Business",
"started_at": "2024-01-01T00:00:00Z",
"expired_at": "2024-12-31T23:59:59Z",
"status": "active"
}
]
}| Field | Type | Description |
|---|---|---|
project_name | string | Project name |
description | string | Project description |
company | string | Company name |
status | string | Project status |
type | string | Project type (e.g., production) |
subscription | array | Active subscriptions with plan information |
Subscription array items
| Field | Type | Description |
|---|---|---|
plan_name | string | Plan name for this subscription |
started_at | string | ISO 8601 start date of subscription |
expired_at | string | ISO 8601 expiration date |
status | string | Subscription status |
Error responses
401 Unauthorized
{ "message": "Unauthenticated." }403 Forbidden
{ "message": "Forbidden" }404 Not Found
{ "message": "Not Found" }This endpoint is also useful for verifying your API token — a 200 response confirms authentication is working correctly.