API reference
Business
The business is what a key opens, the company Okaymate works for. Read it to check a key and to know which business it opens.
Endpoints
The business object
The business the key opens. One key opens one business.
Attributes
- objectstringAlways
business. - idstringUnique identifier for the business.
- namestringThe business's name.
- slugstringThe business's short name on Okaymate, in lowercase letters, digits and dashes.
- websitestring or nullThe business's website.
- colorstring or nullThe business's color, a hex code like
#7c5cff. - created_atstringWhen the business was created, ISO 8601.
Business object
{
"object": "business",
"id": "Bk7Qm2xWpL",
"name": "Lumen Studio",
"slug": "lumen-studio",
"website": "https://lumenstudio.com",
"color": "#7c5cff",
"created_at": "2026-11-02T10:14:22.000Z"
}Retrieve the business
GET/v1/ businessRead access
Returns the business the key opens. A good first call to check a key.
Returns
The business object.
Errors
- The request has no key.
- The key is wrong or was revoked.
GET/v1/ business
curl https://okaymate.ai/api/v1/business \
-H "Authorization: Bearer $OKAYMATE_API_KEY"Response200
{
"object": "business",
"id": "Bk7Qm2xWpL",
"name": "Lumen Studio",
"slug": "lumen-studio",
"website": "https://lumenstudio.com",
"color": "#7c5cff",
"created_at": "2026-11-02T10:14:22.000Z"
}