Skip to content
BugBug logo

Connectors / Developer tools · HTTP Connector

BugBug integration and API

Create a test, create a suite and run a test in BugBug, and start a workflow when BugBug sends “Test finished”.

What can you do with BugBug on Tray.ai?

BugBug is a codeless test automation tool that records end-to-end tests for web apps in the browser and runs them locally or in the cloud on a schedule. Tray.ai connects to BugBug through the HTTP Connector, so your workflows can call the BugBug API alongside the rest of your stack.

  • When BugBug sends “Suite finished”, post the pass or fail result to the engineering channel.
  • Run a suite after every deploy to staging so bugs are caught before release.
  • When BugBug sends “Test finished”, open a bug in your issue tracker if the test failed.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.bugbug.io/v2

Set it up

Connect BugBug to Tray.ai

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

Save BugBug's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.bugbug.io/v2 as the base URL. Or paste a cURL example from BugBug's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List tests”

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

Start workflows from BugBug events

Give BugBug the URL of a Tray.ai webhook trigger. “Test finished” can then start a workflow, and so can 1 other event.

Workflows to build with BugBug

Connect BugBug with Jira, GitLab, Slack and Microsoft Teams

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

Open Jira bugs when a BugBug suite fails

When

Suite finished

Then

  1. Check run status to confirm the failure
  2. Download a JUnit report for the run
  3. Create a bug in Jira with the report attached

With Jira

Run BugBug suites after a GitLab deployment

When

A deployment finishes in GitLab

Then

  1. Run a suite against the new build
  2. Post the outcome to the QA channel in Slack

With GitLab and Slack

Post BugBug test results to Microsoft Teams

When

Test finished

Then

  1. Check run status for the finished test
  2. Post the result to the QA channel in Microsoft Teams

With Microsoft Teams

Apps you can build on BugBug data

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

Test suite run board

Lists test suites and the result of each finished run, and lets QA start a suite run or stop one.

Failed test triage queue

Collects finished tests that failed so QA can rerun a test and download the JUnit report.

BugBug MCP server for AI agents

Build an MCP server on BugBug 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 tests
  • List suites
  • Run a test
  • Manage tags
  • Create a test
  • Update a test
  • Delete a test
  • Create a suite

What the BugBug API covers

4 resources and 15 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.

Tests

  • List tests
  • Create a test
  • Update a test
  • Delete a test

Suites

  • List suites
  • Create a suite
  • Update a suite
  • Delete a suite

Runs

  • Run a test
  • Run a suite
  • Check run status
  • Stop a run
  • Download a JUnit report

Tags

  • Manage tags
  • Assign tags to tests

Events BugBug can send to a Tray.ai webhook trigger

  • Test finished
  • Suite finished

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

docs.bugbug.io/integrations/public-api

Frequently asked questions

What can a Tray.ai workflow do in BugBug?

The BugBug API documents 15 actions across 4 resources (Tests, Suites, Runs, Tags). For example: List tests; List suites; Run a test. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with BugBug?

The BugBug API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which BugBug events can start a Tray.ai workflow?

BugBug sends 2 events to a webhook URL, for example: Test finished; Suite finished. A Tray.ai webhook trigger receives them and starts a workflow.

See BugBug 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.