API reference

Connections

Connections tell what the business has set up, its Okaymate server, its Claude and the team's chats linked to Okaymate, as its Connections page shows them.

The connections object

What the business has connected, as its Connections page shows it.

Attributes

  • objectstring
    Always connections.
  • serverobject
    The business's Okaymate server.
  • claudeobject
    The business's Claude.
  • chatsarray of objects
    The team's groups and chats linked to Okaymate.
Connections object
{
  "object": "connections",
  "server": {
    "status": "ready",
    "reachable": true
  },
  "claude": {
    "connected": true
  },
  "chats": [
    {
      "name": "Lumen team",
      "channel": "telegram"
    },
    {
      "name": "Front desk",
      "channel": "whatsapp"
    }
  ]
}

Retrieve the connections

GET/v1/connectionsRead access

Returns the business's server, its Claude and its linked chats.

Returns

The connections object.

GET/v1/connections
curl https://okaymate.ai/api/v1/connections \
  -H "Authorization: Bearer $OKAYMATE_API_KEY"
Response200
{
  "object": "connections",
  "server": {
    "status": "ready",
    "reachable": true
  },
  "claude": {
    "connected": true
  },
  "chats": [
    {
      "name": "Lumen team",
      "channel": "telegram"
    },
    {
      "name": "Front desk",
      "channel": "whatsapp"
    }
  ]
}