GET /v1/ads/catalog
GET
/v1/ads/catalog
const url = 'https://seu-endereco-da-api/v1/ads/catalog';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/catalog \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler conversas (conversations:read).
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Ads seen in the inbox, for the ad filter; no spend or metrics
Media typeapplication/json
Array<object>
object
id
required
The ad source id the inbox ad filter compares against
string
name
required
The latest headline seen for the ad, empty when none
string
Example generated
[ { "id": "example", "name": "example" }]