> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/other/it/reference-documentation/verifica-la-disponibilita-dellapi-di-un-report.md).

# Verifica la disponibilità dell'API di un report

Non tutti i report su impact.com possono essere recuperati tramite API. L’accesso API viene impostato singolarmente per ciascun report e può cambiare nel tempo, quindi il modo più affidabile consiste nel controllare lo stato attuale di un report. I passaggi seguenti si applicano sia ai brand sia ai partner.

{% hint style="success" %}
**Prerequisito:** Per completare questi passaggi, è necessario un token di accesso API. Scopri come [creare un token di accesso API](https://help.impact.com/other/it/reference-documentation/api-access-tokens/create-an-api-access-token.md)e leggi i nostri suggerimenti su come [mantenere sicuri i token di accesso](https://help.impact.com/other/it/reference-documentation/api-access-tokens/keep-your-access-tokens-secure.md).
{% endhint %}

## Recuperare le credenziali API

1. [Accedi](https://help.impact.com/other/it/reference-documentation/log-in-to-your-impactcom-account.md) al tuo account impact.com.
2. Dalla barra di navigazione in alto, seleziona ![](https://2293729233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRN1rcrim887TwHLBjac%2Fuploads%2Fpmc2UIFakEHRS3pas1a0%2Fprofile.svg?alt=media\&token=87284fd9-5037-4062-ad5d-234b845664f5) **\[Profilo utente] → Impostazioni**.
3. In *Tecniche*, seleziona la pagina API relativa al tuo tipo di account:
   * Pagina Brand: [**API**](https://app.impact.com/secure/advertiser/api/fr/api-access-tokens-ui.ihtml)
   * Pagina Partner: [**API**](https://app.impact.com/secure/mediapartner/api/fr/api-access-tokens-ui.ihtml)
4. Seleziona la scheda del token di accesso che vuoi usare.
5. Nella scheda *Credenziali* , copia i valori di *SID account* e *Token di autenticazione* . Li userai nel passaggio successivo.

## Elencare tutti i report disponibili per il tuo account

1. Apri un client API, ad esempio [Postman](https://www.postman.com/).
   * In alternativa, usa uno strumento da riga di comando, come Terminale su macOS o PowerShell su Windows.
2. Usa l’endpoint *List Reports* per ottenere un elenco di tutti i tuoi report:
   * Endpoint Brand: [Elencare tutti i report disponibili](https://integrations.impact.com/brand-api-reference/reference/report-export/reports-legacy)
   * Endpoint Partner: [Elencare tutti i report disponibili](https://integrations.impact.com/partner-api-reference/reference/reports/reports)
3. Sostituisci i segnaposto `<AccountSID>` e `<AuthToken>` con i valori che hai copiato.
   * La risposta mostra tutti i report disponibili per il tuo account, inclusi quelli che non possono essere recuperati tramite API.

## Verificare la disponibilità dell’API per un report specifico

1. Nella risposta, individua il report che ti interessa cercando il relativo *Nome o ID*.
2. Controlla il valore nel campo `ApiAccessible` del report:
   * `true`: Puoi recuperare questo report tramite API.
   * `false`: Al momento non puoi recuperare questo report tramite API. Scopri come scaricare o pianificare il report direttamente sulla piattaforma.
3. Ecco un esempio di risposta per un report disponibile tramite l’API partner:

   ```json
   {
     "Reports": [
       {
         "Name": "Action Listing",
         "Id": "ps_a_action_listing",
         "Category": "Performance",
         "Description": "Lists all actions for a date range.",
         "ApiAccessible": true,
         "ApiRunUri": "/Mediapartners/<AccountSID>/Reports/ps_a_action_listing",
         "DeferredApiRunUri": "/Mediapartners/<AccountSID>/ReportExport/ps_a_action_listing",
         "MetaDataUri": "/Mediapartners/<AccountSID>/ReportsMetadata/ps_a_action_listing"
       }
     ]
   }
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/other/it/reference-documentation/verifica-la-disponibilita-dellapi-di-un-report.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
