Skip to content
Bitwarden logo

Connectors / Security and compliance · HTTP Connector

Bitwarden integration and API

Update a collection and update a policy in Bitwarden. Connect Bitwarden to the rest of your security and compliance stack with Tray.ai.

What can you do with Bitwarden on Tray.ai?

Bitwarden is a password manager for teams and businesses that stores shared credentials in an encrypted vault, organized into collections, with member and policy controls. Tray.ai connects to Bitwarden through the HTTP Connector, so your workflows can call the Bitwarden API alongside the rest of your stack.

  • Create a member when a new hire starts in your HR system so they get shared credentials.
  • Revoke a member as soon as your HR system marks an employee as leaving.
  • Create a group for each new department added in your HR system so access follows the team.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://api.bitwarden.com

Set it up

Connect Bitwarden to Tray.ai

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

Sign in to Bitwarden with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Bitwarden. 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://api.bitwarden.com as the base URL. Or paste a cURL example from Bitwarden's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List all members”

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

Hand it to an AI agent

Wrap “Retrieve a member” and “Create a member” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Bitwarden

Connect Bitwarden with Okta, Slack and BambooHR

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

Invite new Okta users to Bitwarden

When

A user is created in Okta

Then

  1. Create a member in Bitwarden with the user's email
  2. Post a note to the IT channel in Slack

With Okta and Slack

Revoke Bitwarden access when a user is deactivated in Okta

When

A user is deactivated in Okta

Then

  1. List all members in Bitwarden and find the user's email
  2. Revoke a member in Bitwarden for that user

With Okta

Remove Bitwarden members when employees leave in BambooHR

When

An employee is terminated in BambooHR

Then

  1. List all members in Bitwarden and find the employee's email
  2. Remove a member in Bitwarden for that employee

With BambooHR

Apps you can build on Bitwarden data

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

Vault access review

Lists members with their groups and collections so IT can review who can reach which credentials.

Member offboarding tool

Lets IT find a member and revoke or remove their vault access in one step.

Policy settings register

Lists organization policies and their settings so a security lead can check and update them.

Bitwarden MCP server for AI agents

Build an MCP server on Bitwarden 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 all members
  • List all groups
  • List all collections
  • List all policies
  • Retrieve a member
  • Create a member
  • Update a member
  • Remove a member

What the Bitwarden API covers

4 resources and 19 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. New to APIs? Read what an API integration is.

Members

  • List all members
  • Retrieve a member
  • Create a member
  • Update a member
  • Remove a member
  • Re-invite a member
  • Revoke a member

Groups

  • List all groups
  • Retrieve a group
  • Create a group
  • Update a group
  • Delete a group

Collections

  • List all collections
  • Retrieve a collection
  • Update a collection
  • Delete a collection

Policies

  • List all policies
  • Retrieve a policy
  • Update a policy

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

bitwarden.com/help/public-api

Frequently asked questions

What can a Tray.ai workflow do in Bitwarden?

The Bitwarden API documents 19 actions across 4 resources (Members, Groups, Collections, Policies). For example: List all members; List all groups; List all collections. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Bitwarden?

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

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