Skip to main content
GET
Get app businesses

Endpoint

GET /apps/current/businesses Production URL: https://sam.aragon.morabaa.com/api/apps/current/businesses

Authentication

This endpoint requires app authentication headers:
  • X-App-Id: <APP_ID>
  • X-App-Secret: <APP_SECRET>

Required headers

string
required
App ID credential.
string
required
App secret credential.
Need credentials? Contact info@morabaa.com.
If either header is invalid or missing, the response is 401 Unauthorized. Do not send Content-Type: application/json for this GET request. The request has no body or query parameters.

Request example

Response

A successful response returns 200 OK with the businesses assigned to the authenticated app. Results may be cached for up to five minutes.
guid
Business ID.
string
Business title.
If the app has no assigned businesses, the endpoint returns an empty array:
If Morabaa rejects the request, returns an invalid response, or is unavailable, the endpoint returns 502 Bad Gateway:

Headers

X-App-Id
string
required

App ID credential.

X-App-Secret
string
required

App secret credential.

Response

Businesses returned successfully.

id
string<uuid>
required

Business ID.

title
string
required

Business title.