API Reference
Facebook LoginGETLogin dialog
Businesses, ad accounts and Pages

List the user's businesses

GET/v27.0/me/businesses
Base URL: https://meta-ads.mimicr.dev · provider: https://graph.facebook.com

Business Managers the user belongs to. Requires business_management. The persona no_business gets an empty list.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Query parameters

fieldsstring

Comma-separated fields to return, with Graph field expansion: a,b{c,d},e.limit(5). Without it, only id (and a few default fields on some nodes) is returned. An unknown field returns (#100) Tried accessing nonexisting field.

limitinteger

Maximum items per page (default 25).

afterstring

Cursor of paging.cursors.after: the page after.

beforestring

Cursor of paging.cursors.before: the page before.

Responses

200OK.
dataobject[]
Show child attributes
idstring

ID of the object.

namestring

Name of the object.

verification_statusstring

Verification status.

expiredfailedineligiblenot_verifiedpendingpending_need_more_infopending_submissionrejectedrevokedverified
created_timestring<date-time>

Time the object was created, ISO 8601 in the ad account time zone (2026-11-05T14:25:17-0300).

pagingobject

Cursor-based paging. next is absent on the last page and repeats every query param of the request, access_token included.

Show child attributes
cursorsobject
Show child attributes
beforestring

Cursor of the first item of the page.

afterstring

Cursor of the last item of the page.

nextstring

URL of the next page.

previousstring

URL of the previous page.

400Error in the Graph envelope.
errorobjectrequired
Show child attributes
messagestringrequired

Description of the error.

Example: "(#100) The parameter special_ad_categories is required"
typestringrequired

OAuthException for most codes (the Marketing API uses it for validation too), GraphMethodException for unknown objects, FacebookApiException for transient errors. In Mimicr, routes outside the integration core answer MimicrNotSimulated with HTTP 501.

Example: "OAuthException"
codeintegerrequired

Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).

Example: 100
error_subcodeinteger

Error subcode with more detail (1885272 budget too low, 463 token expired, …).

Example: 1885272
is_transientboolean

Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.

error_user_titlestring

Title of the error, to show to people.

error_user_msgstring

Message of the error, to show to people.

error_dataobject

Extra data. blame_field_specs lists the params that caused a validation error.

Show child attributes
blame_field_specsstring[][]
fbtrace_idstringrequired

Internal support identifier of the request.

Example: "AbCdEf12345"