GET /v1/deal-goals/celebration-setting
GET
/v1/deal-goals/celebration-setting
const url = 'https://seu-endereco-da-api/v1/deal-goals/celebration-setting';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/deal-goals/celebration-setting \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Gerenciar metas (goals:manage).
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Media typeapplication/json
object
broadcastEnabled
required
boolean
channelId
required
string
groupConversationId
required
The group conversation the celebration is broadcast into
string
Example generated
{ "broadcastEnabled": true, "channelId": "example", "groupConversationId": "example"}