---
title: Download matches for logo queries by ID
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Brand Protection](https://developers.cloudflare.com/api/go/resources/brand_protection)

[Logo Matches](https://developers.cloudflare.com/api/go/resources/brand_protection/subresources/logo_matches)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Download matches for logo queries by ID

client.BrandProtection.LogoMatches.Download(ctx, params) (\*[LogoMatchDownloadResponse](<https://developers.cloudflare.com/api/go/resources/brand_protection#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20LogoMatchDownloadResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/brand-protection/logo-matches/download

Return matches as CSV for logo queries based on ID

##### Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. [Create a token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

**Example:**`Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY`

##### Accepted Permissions (at least one required)

`Intel Write``Intel Read`

##### ParametersExpand Collapse

<details>

<summary>

params LogoMatchDownloadParams

</summary>

AccountID param.Field\[string]

Path param

minLength1

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(method)%20download%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

Limit param.Field\[string]Optional

Query param

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(method)%20download%20%3E%20(params)%20default%20%3E%20(param)%20limit">Link to this property</a>

LogoID param.Field\[\[]string]Optional

Query param

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(method)%20download%20%3E%20(params)%20default%20%3E%20(param)%20logo_id">Link to this property</a>

Offset param.Field\[string]Optional

Query param

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(method)%20download%20%3E%20(params)%20default%20%3E%20(param)%20offset">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logo_matches%20%3E%20(method)%20download%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type LogoMatchDownloadResponse struct{…}

</summary>

Matches \[]map\[string, unknown]Optional

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20LogoMatchDownloadResponse%20%3E%20(schema)%20%3E%20(property)%20matches">Link to this property</a>

Total int64Optional

<a href="#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20LogoMatchDownloadResponse%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

</details>

[Link to this property](<#(resource)%20brand_protection.logo_matches%20%3E%20(model)%20LogoMatchDownloadResponse%20%3E%20(schema)>)

### Download matches for logo queries by ID

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/brand_protection"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  response, err := client.BrandProtection.LogoMatches.Download(context.TODO(), brand_protection.LogoMatchDownloadParams{
    AccountID: cloudflare.F("x"),
  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.Matches)
}
```

200 example

```
{
  "matches": [
    {
      "foo": "bar"
    }
  ],
  "total": 0
}
```

##### Returns Examples

200 example

```
{
  "matches": [
    {
      "foo": "bar"
    }
  ],
  "total": 0
}
```