BLACK FRIDAY Sale: 35% OFF Yatra Pro — All Plan.

Ends in 00Days 00Hrs 00Min 00Sec Upgrade Now
Skip to content
14-day refund · Free plugin on WordPress.org
Yatra
Yatra · Free in WP.org plugin Integrations

Connect apps, show trips elsewhere.

API keys for Yatra's REST API, and your trips embedded on other websites.

Create keys for apps that use Yatra's REST API, then revoke them any time. Switch on the trips embed, choose which trips to show, and paste the snippet into a partner's site: trip cards open the trip on your site in a new tab.

Included in Free plugin · WP.org

Bundled in the free Yatra plugin · Listed on WordPress.org

API Keys & Trip Embed — Yatra WordPress travel booking plugin (free feature)

Why API Keys & Trip Embed matters for tour operators

Connecting an app to a booking system usually means sharing an admin password. Showing trips on a partner's site means copying them by hand and keeping prices in sync.

What changes once API Keys & Trip Embed is on

Concrete operational outcomes — not feature checkboxes.

  • Create an API key for the WordPress user you choose. It can do what that user can do.
  • The key is shown once and can be revoked any time.
  • Embed trip cards (photo, name, days, price) on other websites; the frame resizes itself.
  • Choose the trips, or show your newest, with how many and how many columns.
  • The embed shows only published trips and opens them on your site in a new tab.

See API Keys & Trip Embed in Yatra

Real screens from a Yatra demo site. Click to enlarge.

API Access settings with API keys and the embed snippet
Create API keys and copy the embed snippet.
Trip cards embedded on another website
Your trips on a partner website, linking back to you.

What API Keys & Trip Embed unlocks in Yatra

Every surface, every toggle, every audit trail — covered.

API keys

WordPress application passwords, managed from Settings → API Access. Requests use HTTP Basic auth.

Safe defaults

Make keys for a dedicated user with a Yatra staff role, not for an administrator.

Trips embed

Settings → API Access → Embed trips on other websites. The embed page is /?yatra_embed=trips.

How to set up API Keys & Trip Embed in Yatra

No engineering. Open Yatra → Modules, toggle, follow the wizard.

  1. 1

    Create a key

    Settings → API Access: pick the user, create the key and copy it.

  2. 2

    Call the API

    Send requests to /wp-json/yatra/v1/ with HTTP Basic auth over HTTPS.

  3. 3

    Embed trips

    Switch on the embed, choose trips and columns, and paste the snippet into the other site.

API Keys & Trip Embed — Yatra Pro FAQ

Want to feel API Keys & Trip Embed in action first? Try Yatra Pro free →

Does Yatra have a REST API?
Yes. From Yatra 3.3, Settings → API Access creates keys for apps that use it. A key is a WordPress application password for the user you choose.
Does it work on a site without HTTPS?
No. WordPress turns application passwords off on plain http sites.
Can I show my trips on another website?
Yes. Switch on Embed trips on other websites and paste the snippet. Visitors who click a trip book on your site.

Add API Keys & Trip Embed to your tour-booking website today.

Yatra Pro · Free tier · Bundled in the WordPress.org plugin · Yatra 3.3+

Free download · Yatra Pro adds 27 modules.