v1.0.0OpenAPI 3.1.1

Performance Marketing API

Download OpenAPI Document

Connect Meta ad accounts, read performance and CAC, test existing assets and approve campaign operations.

Connect Meta, read saved reports and test existing organization assets. Start with the Performance Marketing guide for identifiers, attribution, CAC coverage, minor-unit budgets and the approval lifecycle.

Every ordinary operation accepts an organization-bound x-api-key acting with its creator's role. Meta browser consent still belongs to a person: keep the one-use verifier in the initiating browser. The public reference excludes internal worker and Meta callback routes.

Saving a plan or proposing an action makes no campaign write. Preparation writes paused provider objects. Launch and approval can spend the Meta account's advertising funds; the analyst separately uses Universe credits. Observed efficiency rankings do not establish statistical significance.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Insights

Reports are snapshots for 7/30 account-local days. Null revenue, ROAS or CAC means unavailable evidence, not zero. CAC requires known first-time customer outcomes for every day. Analyst replies charge Universe credits and never execute campaign writes.

Analyze an ad account

Record new-customer outcomes

Get performance report

Queue account sync

List experiments

Auth Required

List saved plans and execution state, newest first, with whole-process assignees and project capability.

Permission: performance_marketing.campaign:read. An API key acts with the role of the member who created it.

Path Parameters

idstring · uuidrequired

Universe resource ID in your organization; not a Meta object ID.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b

Query Parameters

pageinteger

Zero-based page, 50 rows per page.

Default: 0Min: 0Max: 100000
projectIdstring

Same-organization project UUID, or none for unassigned experiments.

Example: none

Responses

200List saved plans and execution state, newest first, with whole-process assignees and project capability.
application/json
itemsobject[]required

items.

Show child attributes
idstring · uuidrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
fk_orgIdstring · uuidrequired

Universe ID. Meta object IDs are separate strings.

Example: 8f0b7f5e-2c1d-4c7e-9b2f-1a2b3c4d5e6fPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
createdAtstringrequired

ISO 8601 timestamp.

Example: 2026-10-11T00:00:00Z
updatedAtstringrequired

ISO 8601 timestamp.

Example: 2026-10-11T00:00:00Z
accountIdstring · uuidrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
creatorIdstring · uuidrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
approvedBystring · uuid | nullrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
namestringrequired

name.

Example: Summer creative test
planobjectrequired

plan.

Show child attributes
standardCommercialbooleanrequired

Must be true: the caller confirms the standard commercial eligibility constraints.

Enum values:true
Example: true
namestringrequired

name.

Example: Summer creative test
hypothesisstringrequired

hypothesis.

Example: The localized creative improves qualified purchases.
objectivestringrequired

objective.

Enum values:OUTCOME_SALESOUTCOME_LEADSOUTCOME_TRAFFIC
Example: OUTCOME_SALES
testKindstringrequired

test Kind.

Enum values:creativecampaign
Example: creative
pageIdstringrequired

page Id.

Example: examplePattern: ^\d{1,30}$
landingPagestring · urirequired

landing Page.

Example: https://example.com/landing
countriesstring[]required

countries.

Example: ["US"]
dailyBudgetMinorintegerrequired

Daily budget for EACH variant in Meta minor currency units. Total daily delivery budget is this value × variant count. Currency offsets depend on the account currency.

Example: 2000Min: 1Max: 1000000000000
startTimestring · date-timerequired

start Time.

Example: 2026-10-12T00:00:00ZPattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
endTimestring · date-timerequired

end Time.

Example: 2026-10-19T00:00:00ZPattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
minConversionsintegerrequired

min Conversions.

Example: 1Min: 10Max: 10000
successMetricstringrequired

success Metric.

Enum values:roascpa
Example: roas
variantsobject[]required

variants.

Show child attributes
namestringrequired

name.

Example: Summer creative test
assetIdstring · uuidrequired

asset Id.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
headlinestringrequired

headline.

Example: example
messagestringrequired

message.

Example: example
ctastringrequired

cta.

Enum values:LEARN_MORESHOP_NOWSIGN_UP
Example: LEARN_MORE
thumbnailAssetIdstring · uuid

thumbnail Asset Id.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
pixelIdstring

Meta pixel (dataset) ID, not a Universe UUID.

Example: 771204559813206Pattern: ^\d{1,30}$
statusstringrequired

Current connection, action or experiment lifecycle state. See the group guide.

Example: draft
stepsobject[]required

steps.

Show child attributes
keystringrequired

key.

Example: ad:0
statestringrequired

state.

Enum values:sendingdoneuncertain
Example: done
idstring

Universe row ID (UUID); Meta resource IDs are decimal strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b
resultobject

Provider or execution-specific properties; preserve unknown fields.

Example: {}
errorstring | nullrequired

Failure explanation, or null.

Example: example
approvedAtstring | nullrequired

ISO 8601 timestamp.

Example: example
runTokenstring · uuid | nullrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
fk_projectIdstring · uuid | null

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
assigneesobject[]

assignees.

Show child attributes
memberIdstring · uuidrequired

Universe ID. Meta object IDs are separate strings.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5bPattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
namestring | nullrequired

name.

Example: Summer creative test
imagestring | nullrequired

image.

Example: example
languagesstring[]required

languages.

Example: []
totalintegerrequired

total.

Example: 1Min: -9007199254740991Max: 9007199254740991
pageintegerrequired

page.

Example: 0Min: -9007199254740991Max: 9007199254740991
pageSizenumberrequired

page Size.

Enum values:50
Example: 50
projectsbooleanrequired

Whether the experiment project migration is installed on this server.

Example: false
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404The resource is not in this organization, has been removed, or lacks a required completed snapshot.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
GET/v1/galaxy/performance-marketing/accounts/{id}/experiments
curl '{{API_BASE_URL}}/v1/galaxy/performance-marketing/accounts/c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b/experiments?projectId=none' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "items": [],
  "total": 1,
  "page": 0,
  "pageSize": 50,
  "projects": false
}

Create an experiment

Get an experiment

Get live delivery from Meta

Launch a prepared experiment

Preview experiment assets

Prepare paused campaign objects

Move an experiment to a project

Recover an uncertain creation

Get experiment efficiency results

Get native Meta study results

Models

InsufficientCreditsErrorDto