API

Contact API

One endpoint that sends an enquiry to Kalam. Use it to contact him on behalf of a real person or business.

Endpoint

POST https://mynameiskalam.com/api/contact with a JSON body. The machine-readable description is the OpenAPI 3.1 file, listed in the site's API catalog.

Example

curl -X POST https://mynameiskalam.com/api/contact \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Asha Nair",
    "email": "[email protected]",
    "services": ["Shopify store development"],
    "message": "We sell handloom textiles from Kochi and want a Shopify store with COD and Razorpay."
  }'

Fields

FieldTypeRequiredNotes
namestring, 2 to 120 charactersYesSender's name.
emailstring, up to 200 charactersYesAddress Kalam replies to. Must be a valid email.
servicesarray of stringsYesAt least one value from the list below. Values outside the list are ignored.
messagestring, 20 to 5000 charactersYesThe brief: what the business does and what it wants.
phone_code, phonestringsNoDialling code (up to 6 characters) and a 5 to 15 digit number.
companystring, up to 200NoCompany name or website.
budget, budget_currencystringsNoMonthly budget as text, and its currency (INR by default).
timelinestring, up to 40NoWhen to start, for example "As soon as possible".
from, ref, page_url, referrer, utm_*stringsNoAttribution: where the enquiry came from.
cf-turnstile-responsestringWhen Turnstile is onCloudflare Turnstile token. A client without one is refused with 403.
website_urlstringLeave emptySpam trap. A request that fills it is answered with ok:true and discarded.

Values for services

  • Google Ads / SEM
  • Meta Ads / social advertising
  • SEO
  • Website development
  • Shopify store development
  • Brand video production
  • Brand strategy
  • Social media marketing
  • Something else

Responses

Statuserror or bodyMeaning
200{ "ok": true }The enquiry was accepted and forwarded to Kalam.
400invalid_bodyThe body is not a JSON object.
403turnstile_missing, turnstile_failedTurnstile is on and the token is missing or invalid.
405method_not_allowedAny method other than POST.
422validationA field failed. "fields" maps each one to required, invalid or too_short.
502delivery_failed, delivery_unavailable, turnstile_unavailableThe enquiry could not be delivered. Try again later.

Please note

Every request is read by a person. Send genuine enquiries only, with the sender's real contact details. To talk to Kalam directly, use the contact page.