GET /v1/ads/accounts/oauth/start
GET
/v1/ads/accounts/oauth/start
const url = 'https://seu-endereco-da-api/v1/ads/accounts/oauth/start';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/ads/accounts/oauth/start \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Gerenciar Meta Ads (ads:manage).
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Media typeapplication/json
object
authUrl
required
Open this URL in a popup to run the Meta OAuth dialog
string
Example generated
{ "authUrl": "example"}