GET /v1/channels/oauth/{provider}/start
GET
/v1/channels/oauth/{provider}/start
const url = 'https://seu-endereco-da-api/v1/channels/oauth/example/start?reconnectChannelId=example&name=example';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/channels/oauth/example/start?reconnectChannelId=example&name=example' \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Gerenciar canais (channels:manage).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”provider
required
string
Query Parameters
Seção intitulada “Query Parameters”reconnectChannelId
required
string
name
required
string
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"}