Dynamo Developer DocsDynamo Developer Docs
External APIAd accounts

List Meta ad accounts

The org's connected Meta ad accounts, fetched live from the Meta Graph API using the org's system-user token. Returns `400` if the org is not connected to Meta Ads.

GET/ad-accounts

Authorization

x-api-key x-date x-signature
x-api-key<token>

Your API key (the ApiKeys document id).

In: header

x-date<token>

Current timestamp in ISO-8601 (must be fresh — within −5s..+60s of server time).

In: header

x-signature<token>

HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/ad-accounts"
[  {    "id": "string",    "name": "string",    "currency": "string",    "businessCountryCode": "string",    "pages": [      {        "id": "string",        "name": "string"      }    ]  }]
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}