OpenAICodex

Connect Codex to Meta

Run Codex as a hosted agent in NoClick with Meta wired into its tools handle. It can use Meta directly while it works. No glue code, nothing to install. Click below to open a ready-to-run agent and connect your account.

Loading preview…
Opens a workflow with 95 tools ready to use.

Tools Codex gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Meta

95 tools
List Ad Accounts

List the ad accounts the token can access (/me/adaccounts).

Get Ad Account

Read an ad account, including spend / funding / limits.

Update Ad Account

Update ad account settings (name, spend cap, ...).

List Campaigns
Get Campaign
Create Campaign

Create an ad campaign (ODAX objective).

Update Campaign

Update a campaign (fields incl. status, budget, name).

Delete Campaign
List Ad Sets
Get Ad Set
Create Ad Set

Create an ad set (targeting + budget + optimization).

Update Ad Set

Update an ad set.

Delete Ad Set
List Ads
Get Ad
Create Ad

Create an ad (links an ad set to a creative; enters review).

Update Ad

Update an ad.

Preview Ad

Generate a rendered preview for an ad.

Delete Ad
List Ad Creatives
Get Ad Creative
Create Ad Creative

Create an ad creative in the account library.

Update Ad Creative

Update a creative (limited mutable fields: name, status, adlabels).

Delete Ad Creative
Upload Ad Image

Upload an image to the ad account (by URL). Returns a hash for creatives.

List Ad Images
Upload Ad Video

Upload a video to the ad account (by hosted URL).

List Ad Videos
Get Ad Video
Delete Ad Video
Get Insights

Read performance insights for any ad object (account/campaign/adset/ad).

Get Object

Read any Graph object by ID with a field set.

Custom Graph Request

Make an arbitrary Graph/Marketing API request (escape hatch).

Create Custom Audience

Create a custom audience in an ad account.

Get Custom Audience
Update Custom Audience

Update a custom audience.

Delete Custom Audience
List Custom Audiences
Add Audience Users

Add users to a custom audience (pre-hashed data).

Remove Audience Users

Remove users from a custom audience (pre-hashed data).

Create Lookalike Audience

Create a lookalike audience from an origin audience.

Create Saved Audience

Create a saved audience from a targeting spec.

Get Saved Audience
List Saved Audiences
Update Saved Audience

Update a saved audience.

Delete Saved Audience
Share Audience

Share a custom audience with other ad accounts.

Search Targeting

Search Meta's targeting taxonomy (interests, geo, categories).

Validate Targeting

Validate targeting ids/names/specs against an ad account.

Browse Targeting

Browse the targeting category tree for an ad account.

Targeting Suggestions

Get targeting suggestions from a seed targeting list.

Reach Estimate

Estimate reach for a targeting spec.

Delivery Estimate

Estimate daily outcomes for a targeting spec + optimization goal.

Create Insights Report (Async)

Kick off an async insights report; returns a report_run_id to poll.

Get Insights Report Status
Fetch Insights Report Results

Fetch the results page of a completed async insights report.

Send Conversion Events

Send server-side conversion events to a pixel/dataset via the Conversions API.

Send Offline Events

Send offline conversion events to a dataset via the Conversions API.

Create Pixel

Create a new ads pixel on an ad account.

List Pixels
Get Pixel
Update Pixel

Update an existing ads pixel.

Get Pixel Stats

Get event statistics for a pixel.

Share Pixel

Share a pixel with another ad account.

List Businesses

List businesses the user has access to.

Get Business
List Owned Pages

List pages owned by a business.

List Owned Ad Accounts

List ad accounts owned by a business.

List Client Ad Accounts

List ad accounts a business has client access to.

List System Users

List system users of a business.

Create System User

Create a system user under a business.

Install App to System User

Install an app to a system user (prerequisite for minting its token).

Generate System User Token

Generate an access token for a system user (install the app first).

List Business Users

List business users of a business.

List Assigned Users

List users assigned to a business asset.

Assign Asset User

Assign a user to a business asset with tasks.

List Catalogs

List product catalogs owned by a business.

Create Catalog

Create a product catalog under a business.

Get Catalog
Update Catalog

Update a product catalog.

Delete Catalog
List Products

List products in a catalog.

Create Product

Create a product in a catalog.

Items Batch

Batch create/update/delete catalog items.

List Product Sets

List product sets in a catalog.

Create Product Set

Create a product set in a catalog.

List Lead Forms

List lead gen forms on a Page.

Get Lead Form
Create Lead Form

Create a lead gen form on a Page.

Archive Lead Form

Archive a lead gen form (no hard delete exists).

List Leads

List leads for a lead gen form.

Get Lead
List Ad Leads

List leads generated by a specific ad.

Create Test Lead

Create a test lead for a lead gen form.

List Test Leads

List test leads for a lead gen form.

About Codex

Codex is OpenAI's command-line coding agent. NoClick runs it as a hosted agent and lets you connect your apps to it as tools, turning it from a coding assistant into an operator that can act across your systems. Connect an integration to the agent and Codex can query, create, and update records in that app directly. You keep the Codex experience and give it real reach into the tools your team already uses.

Fast, capable code generation and editing
Good at well-scoped, concrete tasks
Strong at API and data manipulation
Familiar to teams already on OpenAI tooling

Frequently asked questions

Open your Codex agent in one click

NoClick runs Codex for you with Meta wired in as tools. Connect your account and run.