New: Automate Hosting & WordPress Setup via API

26th April 2026
Why we built it

Agencies managing ads.txt for dozens of publishers have been telling us the same thing: setting up each new domain still required a few manual clicks in our UI. For an agency onboarding their tenth or fiftieth client, those clicks add up.

So we've added two new API endpoints that let you automate the bits that were previously UI-only.

Connect Hosting via API

The new /api/1.0/domain/hosting endpoint enables Connect Hosting for any domain in your account and returns the hosted ads.txt URL ready to share with the publisher.

One call gives you back the redirect URL the publisher needs to point their /ads.txt at. The endpoint is idempotent — call it again to retrieve the same URL, or pass enabled=0 to disable hosting.

Full reference →

WordPress plugin connect via API

The new /api/1.0/domain/wordpress endpoint accepts the same Connect Data blob the WordPress plugin generates today, runs the live handshake against the publisher's WordPress site to verify credentials, and saves the connection.

If you receive Connect Data from your client via email, ticket, or form, you can now feed it straight into your automation rather than pasting it into our UI. Same endpoint disconnects too.

Full reference →

Reliability improvements you'll notice
  • Connect Hosting auto-verify — domains using Connect Hosting now verify themselves on the first successful sync. No need to click verify manually after enabling hosting.
  • Redirect health alerts — if your /ads.txt redirect to our hosting endpoint stops working, we surface a non-blocking alert in the UI so you know to check before your inventory gets rejected.
  • Sync loop fix — Connect Hosting domains no longer get stuck in a re-sync loop in rare edge cases.
Accidental deletes are now recoverable

Previously, deleting a domain or group cleared the underlying ads.txt history. Now, when something is deleted we keep the last known ads.txt content as a recoverable snapshot.

So if a client asks you what was in their ads.txt before they removed a domain — or you accidentally delete the wrong group — the content is still recoverable. Drop us a line and we can pull it back.

One more thing worth knowing

Search now reveals every match — searching your ads.txt records, domain list, or group list shows every matching row in one view rather than hiding matches across pages. Easier to find an entry by partial name.

Where to start

API access is included with the Ad Network tier. Generate a key and secret in your account settings, then check the API documentation for the full reference.

If you're already on the Ad Network tier and have automation infrastructure in place, plugging these new endpoints in should be a half-day job. If you'd like a hand sketching the integration, we're happy to help.

Start Free Trial →

Questions about automating ads.txt management for your agency? Contact our team for a personalized demo.