Skip to content
Cobot logo

Connectors / Operations · HTTP Connector

Cobot integration and API

Create a membership, create a booking and create a custom invoice in Cobot, and start a workflow when Cobot sends “Membership created”.

What can you do with Cobot on Tray.ai?

Cobot is management software for coworking spaces, handling memberships, room and desk bookings, check-ins, invoicing and member billing. Tray.ai connects to Cobot through the HTTP Connector, so your workflows can call the Cobot API alongside the rest of your stack.

  • When Cobot sends “Membership confirmed”, grant the new member access in your door access system.
  • When Cobot sends “Invoice created”, copy the invoice to your accounting system.
  • When Cobot sends “Membership canceled”, remove the member from your community chat.
  • Create a booking in Cobot when a member reserves a room through your website.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://{subdomain}.cobot.me/api

Set it up

Connect Cobot to Tray.ai

Each step uses Cobot's own API details, from its documentation.

Sign in to Cobot with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Cobot. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://{subdomain}.cobot.me/api as the base URL. Or paste a cURL example from Cobot's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List memberships”

It's one of 17 documented actions, under Memberships. The response comes back as data the next step can map into your other apps.

Start workflows from Cobot events

Give Cobot the URL of a Tray.ai webhook trigger. “Membership created” can then start a workflow, and so can 8 other events.

Workflows to build with Cobot

Connect Cobot with HubSpot, Xero and Slack

Each one uses actions and events from Cobot's own API documentation.

Add new Cobot members to HubSpot

When

Membership created

Then

  1. Get a membership for the member's name, plan and email
  2. Create or update the contact in HubSpot

With HubSpot

Send Cobot invoices to Xero

When

Invoice created

Then

  1. Get an invoice for its lines and totals
  2. Create the invoice for the member in Xero

With Xero

Alert the community team in Slack about Cobot cancellations

When

Membership canceled

Then

  1. Get a membership for the member and plan
  2. Post the cancellation to the community channel in Slack

With Slack

Apps you can build on Cobot data

Internal tools your team can build with an AI assistant, each one using Cobot calls from its API documentation.

Member billing view

Shows memberships with their invoices so space managers can see who owes and add custom charges.

Room booking board

Lists bookings by room and lets front desk staff book or remove a slot.

Membership approval queue

Lists new membership sign-ups and lets a manager confirm each one.

Give your AI agents Cobot tools

Build an MCP server on Cobot in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List memberships
  • List bookings
  • List invoices
  • List subscriptions
  • Get a membership
  • Create a membership
  • Confirm a membership
  • Cancel a membership

What the Cobot API covers

4 resources and 17 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Memberships

  • List memberships
  • Get a membership
  • Create a membership
  • Confirm a membership
  • Cancel a membership
  • Delete a membership

Bookings

  • List bookings
  • Get a booking
  • Create a booking
  • Delete a booking

Invoices

  • List invoices
  • Get an invoice
  • Create a custom invoice
  • Delete an invoice

Webhook subscriptions

  • List subscriptions
  • Subscribe to an event
  • Delete a subscription

Events Cobot can send to a Tray.ai webhook trigger

  • Membership created
  • Membership confirmed
  • Membership canceled
  • Booking created
  • Booking updated
  • Booking deleted
  • Invoice created
  • Check-in created
  • Resource created

Checked against Cobot's own documentation on 2026-10-22

dev.cobot.me/api-docs

Frequently asked questions

What can a Tray.ai workflow do in Cobot?

The Cobot API documents 17 actions across 4 resources (Memberships, Bookings, Invoices, Webhook subscriptions). For example: List memberships; List bookings; List invoices. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Cobot?

The Cobot API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Cobot events can start a Tray.ai workflow?

Cobot sends 9 events to a webhook URL, for example: Membership created; Membership confirmed; Membership canceled; Booking created; Booking updated; Booking deleted; Invoice created; Check-in created. A Tray.ai webhook trigger receives them and starts a workflow.

See Cobot working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.