Skip to content
Black Friday: 30% off monthly or 50% off yearly, for as long as you stay. Runs through Dec 31.
Codex · Updated October 20, 2026

Import target posts from Codex

To import target posts from Codex, give it the post URLs and ask it to import them into BacklinkGenie. Each post is checked for fit and quality, the editor is found and verified, and a pitch is drafted for your approval.

Codex setup guide import_postsget_prospect_report
The prompt

What should I ask Codex?

Paste this into Codex and change the details to fit.

Prompt for Codex

Collect the URLs from data/link-targets.csv where status is "todo" and import them into BacklinkGenie. Then mark those rows "imported" in the CSV.

In Codex: Codex can update the CSV after the import, so your tracking file and BacklinkGenie stay in step.

Example answer from Codex

Codex
BacklinkGenie connected

Collect the URLs from data/link-targets.csv where status is "todo" and import them into BacklinkGenie. Then mark those rows "imported" in the CSV.

Used import_posts Used get_prospect_report

14 rows were todo. Imported 14; contacts verified for 11, 3 skipped (2 already in your list, 1 no contact). Updated data/link-targets.csv: 14 rows now "imported".

Example with fictional product Margin, a note-taking app for researchers.
How it runs

What happens, step by step

  1. 01

    Connect BacklinkGenie to Codex

    codex mcp add (HTTP). Use an API key from Settings → MCP.

  2. 02

    Send the URLs

    import_posts takes a list of full post URLs, up to 200 at a time. Duplicates and posts already in your list are ignored.

  3. 03

    BacklinkGenie qualifies each one

    It checks the site against your blocklist and quality rules, reads the post to see where you fit, and finds and verifies the editor's email.

  4. 04

    Pitches appear for approval

    Qualified posts get a pitch in your approvals; skipped ones come back with the reason in get_prospect_report.

Why

Why import target posts from Codex?

You already know some posts you should be in: the roundup a competitor is listed in, the guide that ranks for your main keyword, the article a customer sent you.

Paste the URLs into your assistant and BacklinkGenie qualifies each one, finds who to contact and drafts a pitch for your approval, the same way it handles the posts it finds itself. One call takes up to 200 URLs.

Tips

  • Competitor roundups convert best. Ask your assistant to find posts listing your competitors, then import them.
  • Coding agents can read a file of URLs; chat apps take a pasted list.
  • Importing is included on every plan, from Starter at $99/mo.

Which tools does Codex call?

  • import_posts changes things

    Gives the agent specific post URLs to pitch. It qualifies them, finds the contact and drafts.

  • get_prospect_report read only

    Every prospect with its Domain Rating, Google ranking evidence, contact status, fit score and why it fits.

Import target posts from another tool

Not connected to Codex yet?

Create an API key in BacklinkGenie under Settings → MCP, then add the server. The full Codex setup guide has every step.

~/.zshrc or ~/.bashrc
export BACKLINKGENIE_API_KEY="bg_live_your_key"

Codex setup gotchas

  • Variable not set in the IDE. The IDE extension only sees BACKLINKGENIE_API_KEY if the editor was launched from a shell that exports it. Restart the editor from the terminal, or set the variable system-wide.
  • Slow calls time out. If a call fails with a timeout, raise tool_timeout_sec under [mcp_servers.backlinkgenie] in config.toml.
  • Check what loaded. Type /mcp in a Codex session. If BacklinkGenie is listed with no tools, the key was rejected.

BacklinkGenie is an AI link-building outreach agent. It finds posts in your niche, finds and verifies the editor, writes one pitch per post from your brand's outreach mailbox, follows up and checks every won link weekly. Codex works on the same account as the dashboard, so the same quality check and mailbox limits apply. Plans: Starter $99/mo (1 site, 1 mailbox, 1,000 emails), Growth $249/mo (3 sites, 3 mailboxes, 3,000 emails), Agency $499/mo (8 sites, 8 mailboxes, 8,000 emails). Every feature, including MCP, is on every plan. See how BacklinkGenie works or compare plans.

FAQ

Questions people ask

Why would an imported post be skipped?

It's on your blocklist or our never-contact list, the site fails the quality checks (it sells links or shows spam signals), it's already in your list, or there's no way to contact the editor.

Does importing count toward my emails?

Qualifying the post doesn't. The pitch it writes uses 1 email and each follow-up 1 more. A new pitch only starts while 3 emails are left in your month, so follow-ups are never cut off.

Will it pitch a guest post?

No. BacklinkGenie asks the editor to add your product to the existing post, where it fits. It doesn't offer to write guest posts.

Does Codex ask me before it changes anything?

This job uses import_posts, which change things on your account. Codex's approval mode covers MCP calls. Use the default mode that asks before actions when approve_draft and send_reply are available.

Do I need an API key to use BacklinkGenie from Codex?

Yes. Create one in BacklinkGenie under Settings → MCP; keys start with bg_live_ and are shown once. MCP access is on every paid plan, from $99/mo.

Keep reading

Related

Start with a free prospect report

Up to 40 posts worth pitching, no card needed. Connect Codex once you subscribe.

The BacklinkGenie genie The BacklinkGenie genie