Get Meta Ads Authorization URL
GET/api/advertising/meta-ads/authorization-url
Returns the Facebook Login consent URL that connects (or re-authorizes) a Meta Ads connection. After the user approves, Meta redirects back to SKU.io, which stores the token and discovers the Meta ad accounts. The pending sign-in expires if not completed in time; start again to get a fresh URL. Equivalent to Get Ad Platform Authorization URL with platform=meta_ads, except that this endpoint does not check whether Meta has approved SKU.io's API access yet.
advertising:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Requires the advertising.manage permission. Token scope: advertising:read (personal access and OAuth tokens).
Query: name (optional, max 255, default Meta Ads) names a new connection; integration_instance_id (optional) re-authorizes an existing connection and must exist.
data is the URL string itself.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.