إرسال
Project

Get Project Details

Retrieve the details of the authenticated project

Endpoint

GET /api/project/details

Example

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"
    }
  ]
}
FieldTypeDescription
project_namestringProject name
descriptionstringProject description
companystringCompany name
statusstringProject status
typestringProject type (e.g., production)
subscriptionarrayActive subscriptions with plan information

Subscription array items

FieldTypeDescription
plan_namestringPlan name for this subscription
started_atstringISO 8601 start date of subscription
expired_atstringISO 8601 expiration date
statusstringSubscription 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.

On this page