Get the business
/businessThe business profile as customers see it in the Lynked app.
Responses
Success
- 200 OKBusiness
The business.
8 fields
idintegerThe business id, the same as in Get the current business.
namestringdescriptionstring | nullimagestring | null · uriURL of the business logo.
business_typeinteger1Barber,2Cafe,3Restaurant / food and beverage,4Ice cream parlour,5Bakery,6Beauty,7Butchers,8Clothing,9Entertainment,10Florists,11Fruit and veg,12Game shops,13Grocery,14Hardware,15Home heating,16Laundrette,17Pet shops,18Pharmacy,19Retail,20Service station,21Sport and fitness,22Vape shop,23Wellness store,24Other.One of
123456789101112131415161718192021222324website_urlstring | nullinstagram_urlstring | nullfacebook_urlstring | null
Errors
- 401 UnauthorizedError
The API key is missing, invalid or revoked.
3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 403 ForbiddenError
The Public API is disabled for this business.
3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 422 Unprocessable EntityValidationError
The request is invalid;
errorslists the problems per field.4 fields
messagestringAll problems in one line.
errorsobjectRequest field path → its problems.
error_codestringundefinedfor validation errors for now; see Errors for the list of codes.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 429 Too Many RequestsRateLimitError
More than 120 requests per minute for this business.
HeadersRetry-AfterintegerSeconds to wait before the next request.
4 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
retry_afterintegerSeconds to wait before the next request; the same value as the
Retry-Afterheader.
- 500 Internal Server ErrorError
Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the
error_uid.3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
curl 'https://api.lynked.ie/api/public/v1/business' \
-H 'Authorization: Bearer lk_live_...'
HTTP/3 200 OK
Content-Type: application/json
{
"id": 1205,
"name": "Harbour Coffee",
"description": "Specialty coffee and pastries by the harbour.",
"image": "https://cdn.lynked.ie/places/1205/logo.png",
"business_type": 2,
"website_url": "https://harbourcoffee.ie",
"instagram_url": "https://instagram.com/harbourcoffee",
"facebook_url": "https://facebook.com/harbourcoffee"
}