Complete API documentation for Mohammad Asad web design services. Provides endpoints for contact form submissions, project quotes, service information, and health checks.
Current Version: v1.0.0
Base URL: https://mohammad-asad.vercel.app/api/v1
Deprecated Base URL: https://mohammad-asad.vercel.app/api (use v1 endpoints instead)
/api/v1/Deprecation header and Link headerLink header with rel="successor-version"All API endpoints implement rate limiting with the following headers:
X-RateLimit-Limit: Requests per hourX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Unix timestamp when rate limit resetsRetry-After: Seconds to wait before retrying (on 429 responses)POST /api/v1/contact: 100 requests/hourPOST /api/v1/quote: 50 requests/hourGET /api/v1/services: 200 requests/hourGET /api/v1/health: 1000 requests/hourCurrently, no authentication is required for public endpoints. API key authentication may be added in future versions.
Some endpoints support content negotiation via the Accept header:
Accept: application/json - Returns JSON response (default)Accept: text/markdown - Returns Markdown response (where supported)Responses include Vary: Accept, Accept-Encoding header for proper caching.
Submit a contact form inquiry to Mohammad Asad web design services.
Content-Type: application/json
Accept: application/json
{
"name": "string (required, 2-100 chars)",
"email": "string (required, valid email)",
"phone": "string (optional)",
"subject": "string (optional, max 200 chars)",
"message": "string (required, 10-2000 chars)",
"service_interest": "string (optional, enum: web-design, ui-ux, web-development, wordpress, shopify, maintenance, other)"
}
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 99
X-RateLimit-Reset: 1692835200
X-API-Version: 1.0.0
{
"success": true,
"message": "Thank you for your message. We will get back to you within 24 hours.",
"reference_id": "CON-1234567890-abc123"
}
Request a detailed project quote for web design services.
{
"name": "string (required, 2-100 chars)",
"email": "string (required, valid email)",
"company": "string (optional)",
"project_type": "string (required, enum: custom-website, wordpress, shopify, ui-ux-design, website-redesign, maintenance)",
"budget_range": "string (required, enum: <1000, 1000-3000, 3000-5000, 5000-10000, 10000+)",
"timeline": "string (optional)",
"description": "string (required, 20-5000 chars)"
}
{
"success": true,
"message": "Quote request received. We will review and get back to you within 2 business days.",
"reference_id": "QUOTE-1234567890-xyz789"
}
Get list of available web design and development services with pricing information.
Supports both JSON and Markdown responses via Accept header.
{
"services": [
{
"id": "web-design",
"name": "Custom Web Design",
"description": "Professional custom website design tailored to your brand and business needs.",
"starting_price": "$1,000"
}
]
}
Check API health status and availability.
{
"status": "healthy",
"timestamp": "2024-08-23T12:00:00Z",
"version": "1.0.0",
"api_version": "v1",
"documentation": "https://mohammad-asad.vercel.app/docs"
}
All error responses follow this structured format:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"documentation": "https://mohammad-asad.vercel.app/docs"
}
}
METHOD_NOT_ALLOWED - HTTP method not supported for endpointINVALID_NAME - Name validation failedINVALID_EMAIL - Email validation failedINVALID_MESSAGE - Message validation failedINVALID_PROJECT_TYPE - Project type validation failedINTERNAL_ERROR - Server error occurred200 - Success400 - Bad Request (validation error)404 - Not Found (endpoint doesn't exist)405 - Method Not Allowed429 - Too Many Requests (rate limit exceeded)500 - Internal Server ErrorComplete OpenAPI 3.0.3 specification available at: /openapi.json
Includes full schemas, examples, and rate limiting documentation.
Currently no official SDKs are provided. The API can be integrated using standard HTTP clients in any programming language.
For API support and questions: