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.

The business object

The business the key opens. One key opens one business.

Attributes

  • objectstring
    Always business.
  • idstring
    Unique identifier for the business.
  • namestring
    The business's name.
  • slugstring
    The business's short name on Okaymate, in lowercase letters, digits and dashes.
  • websitestring or null
    The business's website.
  • colorstring or null
    The business's color, a hex code like #7c5cff.
  • created_atstring
    When 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

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"
}