Create a Meta ad account connection link

Create an expiring Facebook Login link. Ask the account owner to complete it. Completing login can connect selected Meta ad accounts to the workspace. Use the attempt_id to check the connection outcome. Keep the link and OAuth response private.

Requires Instagram Ads to be enabled for the workspace and Pro, Business or a purchased Meta add-on.

Permissions

For API access tokens and OIDC tokens, use api or instagramv3:write. API access tokens can satisfy a listed scope through the configured hierarchy. OIDC tokens are checked against their scope claims. Authentication, the endpoint’s role allowlist and workspace access rules still apply.

Legacy JWTs skip endpoint scope evaluation. Authentication and authorization failures can have an empty response body.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
Responses

401

Authentication is required.

403

Check the credential, scope, role and workspace access.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json