/Notifications/destinations (GET)
GET
/Notifications/destinations
const url = 'https://api.chatfood.app/Notifications/destinations';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://api.chatfood.app/Notifications/destinations \ --header 'Authorization: Bearer <token>'Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”OK