Connectors / IT · HTTP Connector
Duo Security integration and API
Create an integration and create bypass codes in Duo Security. Connect Duo Security to the rest of your IT stack with Tray.ai.
What can you do with Duo Security on Tray.ai?
Duo Security, part of Cisco, adds multi-factor authentication and device checks to logins, with an admin console for managing users, phones and protected applications. Tray.ai connects to Duo Security through the HTTP Connector, so your workflows can call the Duo Security API alongside the rest of your stack.
- Create a user in Duo when a new hire is added to your HR system.
- Delete a user in Duo when an employee's offboarding ticket closes in your IT service desk.
- Create bypass codes when the help desk verifies a user who has lost their phone.
- Associate a group when an employee changes department in your HR system.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication
- Base URL
- https://api-XXXXXXXX.duosecurity.com
Set it up
Connect Duo Security to Tray.ai
Each step uses Duo Security's own API details, from its documentation.
Save Duo Security's username and password
Save the credentials Duo Security gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay 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-XXXXXXXX.duosecurity.com as the base URL. Or paste a cURL example from Duo Security's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List users”
It's one of 18 documented actions, under Users. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Create a user” and “Retrieve a user” 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 Duo Security
Connect Duo Security with Okta, Workday REST and ServiceNow
Each one uses actions and events from Duo Security's own API documentation.
Enroll new Okta users in Duo Security
When
A user is activated in Okta
Then
- Create a user
- Enroll a user
With Okta
Remove Duo Security users when an employee leaves
When
An employee is terminated in Workday REST
Then
- Retrieve a user
- Delete a user
With Workday REST
Issue Duo bypass codes from approved ServiceNow requests
When
A lost device request is approved in ServiceNow
Then
- Create bypass codes
- Send the codes to the requester through ServiceNow
With ServiceNow
Apps you can build on Duo Security data
Internal tools your team can build with an AI assistant, each one using Duo Security calls from its API documentation.
MFA enrollment tracker
Lists users with their phones so IT can find who has not enrolled and send enrollment.
Protected app inventory
Lists integrations so security teams can see which applications are protected.
Duo Security MCP server for AI agents
Build an MCP server on Duo Security 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 users
- List integrations
- List a user's phones
- List a user's groups
- Create bypass codes
- Create a user
- Retrieve a user
- Modify a user
What the Duo Security API covers
5 resources and 18 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.
Users
- List users
- Create a user
- Retrieve a user
- Modify a user
- Delete a user
- Enroll a user
Integrations
- List integrations
- Create an integration
- Modify an integration
- Delete an integration
User phones
- List a user's phones
- Associate a phone
- Disassociate a phone
User groups
- List a user's groups
- Associate a group
- Disassociate a group
Bypass codes
- Create bypass codes
- Retrieve bypass codes
Checked against Duo Security's own documentation on 2026-10-22
How Tray.ai makes this work
Duo Security plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Duo Security, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Duo Security actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Duo Security data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore IT apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every it connector →
Frequently asked questions
What can a Tray.ai workflow do in Duo Security?
The Duo Security API documents 18 actions across 5 resources (Users, Integrations, User phones, User groups, Bypass codes). For example: List users; List integrations; List a user's phones. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Duo Security?
The Duo Security API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Duo Security working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.