Connectors / Marketing · HTTP Connector
Common Ninja integration and API
Create a widget in Common Ninja. Connect Common Ninja to the rest of your marketing stack with Tray.ai.
What can you do with Common Ninja on Tray.ai?
Common Ninja is a no-code widget builder for websites, covering things like forms, galleries, reviews and pop-ups, plus the contacts and submissions those widgets collect. Tray.ai connects to Common Ninja through the HTTP Connector, so your workflows can call the Common Ninja API alongside the rest of your stack. API access comes through Common Ninja's partner program or API plan, so you need approved credentials first.
- List submissions from your website forms widget and create matching leads in your CRM.
- List contacts collected by your widgets each day and add them to your email marketing list.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0 or a bearer token
- Base URL
- https://api.commoninja.com/platform/api/v1
Set it up
Connect Common Ninja to Tray.ai
Each step uses Common Ninja's own API details, from its documentation.
Sign in to Common Ninja with OAuth 2.0
Ask Common Ninja for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Common Ninja. 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.commoninja.com/platform/api/v1 as the base URL. Or paste a cURL example from Common Ninja's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List widgets”
It's one of 14 documented actions, under Widgets. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Get a widget” and “Create a widget” 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 Common Ninja
Connect Common Ninja with HubSpot and Google Sheets
Each one uses actions and events from Common Ninja's own API documentation.
Add Common Ninja form submissions to HubSpot
When
On a schedule
Then
- List submissions in Common Ninja
- Get a submission for each new entry
- Create or update the contact in HubSpot
With HubSpot
Copy Common Ninja contacts to Google Sheets
When
On a schedule
Then
- List contacts in Common Ninja
- Add new contacts as rows in Google Sheets
With Google Sheets
Apps you can build on Common Ninja data
Internal tools your team can build with an AI assistant, each one using Common Ninja calls from its API documentation.
Form submission inbox
Lists submissions from website widgets with contact details for follow-up.
Widget inventory
Lists widgets by project and shows the embed code for each one.
Common Ninja MCP server for AI agents
Build an MCP server on Common Ninja 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 widgets
- List projects
- List contacts
- List submissions
- List widget types
- Get a widget
- Create a widget
- Update a widget
What the Common Ninja API covers
5 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Common Ninja gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.
Widgets
- List widgets
- Get a widget
- Create a widget
- Update a widget
- Delete a widget
- Get a widget embed code
Projects
- List projects
- Get a project
Contacts
- List contacts
- Get a contact
Submissions
- List submissions
- Get a submission
Widget types
- List widget types
- Get a widget type
Checked against Common Ninja's own documentation on 2026-10-22
How Tray.ai makes this work
Common Ninja 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 Common Ninja, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Common Ninja actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Common Ninja data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in Common Ninja?
The Common Ninja API documents 14 actions across 5 resources (Widgets, Projects, Contacts, Submissions, Widget types). For example: List widgets; List projects; List contacts. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Common Ninja?
The Common Ninja 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.
Do I need special access to the Common Ninja API?
Yes. Common Ninja gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.
See Common Ninja 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.