API Reference
Get a Page
/v27.0/{page_id}https://meta-ads.mimicr.dev · provider: https://graph.facebook.comReads a Page the user can manage: whatsapp_number and has_whatsapp_number tell whether click-to-WhatsApp ads can promote it. fields=access_token returns a Page access token. Requires pages_read_engagement (or pages_show_list).
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
ID of the Page.
"100539998049709"Query parameters
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.
Responses
200OK.
ID of the object.
Name of the Page.
Category of the Page.
Profile picture: {data: {url, height, width, is_silhouette}}.
Tasks the user can perform on the Page (ADVERTISE, ANALYZE, …).
Page access token. Only in /me/accounts (or with fields=access_token) and only for a user who can manage the Page.
Whether a WhatsApp number is connected to the Page.
The WhatsApp number connected to the Page. In Mimicr it is the number of the linked WhatsApp sandbox.
URL of the Page.
Verification status.
400Error in the Graph envelope.
Show child attributes
Description of the error.
"(#100) The parameter special_ad_categories is required"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.
"OAuthException"Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).
100Error subcode with more detail (1885272 budget too low, 463 token expired, …).
1885272Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.
Title of the error, to show to people.
Message of the error, to show to people.
Extra data. blame_field_specs lists the params that caused a validation error.
Show child attributes
Internal support identifier of the request.
"AbCdEf12345"