Skip to content
Duda logo

Connectors / Marketing · HTTP Connector

Automate Duda with Tray.ai

Create a site and publish a blog post in Duda, and start a workflow when Duda sends “Site published”.

What can you do with Duda on Tray.ai?

Duda is a white-label website builder for agencies and SaaS platforms, used to create, publish and manage client websites, blogs and online stores at scale. Tray.ai connects to Duda through the HTTP Connector, so your workflows can call the Duda API alongside the rest of your stack. API access comes through Duda's partner program or API plan, so you need approved credentials first.

  • When Duda sends “Site published”, update the client's project status in your project management tool.
  • Create a site in Duda when a new client signs a website deal in your CRM.
  • When Duda sends “Order paid”, record the sale in your accounting system.
  • Import a blog post from articles approved in your content planning tool.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://api.duda.co/api

Set it up

Connect Duda to Tray.ai

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

Step 1

Save Duda's username and password

Ask Duda for API access. Once it's approved, save the credentials Duda 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.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “Get a site”

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

Step 4

Start workflows from Duda events

Give Duda the URL of a Tray.ai webhook trigger. “Site published” can then start a workflow, and so can 7 other events.

Workflows to build with Duda

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

Create a Duda account and site for each new agency client

When

A deal closes in HubSpot

Then

  1. Create an account
  2. Create a site
  3. Get a welcome link and email it to the client in Gmail

With HubSpot and Gmail

Record paid Duda store orders in QuickBooks

When

Order paid

Then

  1. Create a sales receipt in QuickBooks for the order
  2. Post the order total to the sales channel in Slack

With QuickBooks and Slack

Post Duda site launches to Slack

When

Site published

Then

  1. Get a site
  2. Post the site name and URL to the client success channel in Slack

With Slack

Apps you can build on Duda data

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

Client site status board

Shows which client sites are published or unpublished so agency staff can publish or pull sites.

Client blog post queue

Lists blog posts per site so editors can update drafts and publish them.

Give your AI agents Duda tools

Build an MCP server on Duda 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

  • Get a site
  • Get an account
  • List blog posts
  • Get an SSO link
  • Create a site
  • Publish a site
  • Unpublish a site
  • Create an account

What the Duda API covers

4 resources and 17 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Duda gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Sites

  • Get a site
  • Create a site
  • Publish a site
  • Unpublish a site

Accounts

  • Get an account
  • Create an account
  • Update an account
  • Delete an account

Blog posts

  • List blog posts
  • Get a blog post
  • Import a blog post
  • Update a blog post
  • Publish a blog post
  • Delete a blog post

Account links

  • Get an SSO link
  • Get a password reset link
  • Get a welcome link

Events Duda can send to a Tray.ai webhook trigger

  • Site published
  • Site unpublished
  • Site created
  • Domain updated
  • Site plan changed
  • Product created
  • Order created
  • Order paid

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

developer.duda.co/reference/getting-started-with-the-duda…

Frequently asked questions

What can a Tray.ai workflow do in Duda?

+

The Duda API documents 17 actions across 4 resources (Sites, Accounts, Blog posts, Account links). For example: Get a site; Get an account; List blog posts. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Duda?

+

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

Which Duda events can start a Tray.ai workflow?

+

Duda sends 8 events to a webhook URL, for example: Site published; Site unpublished; Site created; Domain updated; Site plan changed; Product created; Order created; Order paid. A Tray.ai webhook trigger receives them and starts a workflow.

Do I need special access to the Duda API?

+

Yes. Duda gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

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