> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.brevo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.brevo.com/_mcp/server.

# List automation workflows

GET https://api.brevo.com/v3/automation/workflows

Returns the account's automation workflows with their ID, name and status, newest first. Filter by part of the name with `name` and by status with `status`. At most `limit` workflows are returned (50 by default); when `total_workflows_count` is larger, page with `offset`.


Reference: https://developers.brevo.com/reference/list-workflows

## Authentication

- `api-key` header (required) — The API key should be passed in the request headers as `api-key` for authentication.
- `Authorization` header (bearer token, required) — OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app's client_id/client_secret for a short-lived Bearer token.

## Request

### Query parameters

- `name` (string, optional) — Optional. Part of the automation's name, case-insensitive (for example "welcome" finds "Welcome series"). A value made only of digits also matches the automation with that ID. 1 to 255 characters.
- `status` (enum, optional) — Optional. Only automations with this status. active, pause, or inactive (a draft or a stopped automation).
  - Allowed values: `active`, `pause`, `inactive`
- `limit` (long, optional) — Optional. Number of automations to return, 1 to 100 (default 50). If `total_workflows_count` is larger than the number returned, page with `offset` or narrow with `name`.
- `offset` (long, optional) — Optional. Number of matching automations to skip, for paging with `limit`.
- `triggerTypes` (string, optional) — Optional. Comma-separated object types that start the automation, as the Brevo automation list filters them (`contacts` for automations on contacts). Usually leave it out.

## Response

### 200

The matching automations

- `total_workflows_count` (long, optional) — Number of automations that match the filters, whatever `limit` and `offset`
- `workflows` (list of AutomationWorkflowsGetResponsesContentApplicationJsonSchemaWorkflowsItems, optional) — The matching automations, newest first

## Errors

### 400 Bad Request Error

A query parameter is unknown, given twice, or out of range

- `message` (string, required) — Readable message associated to the failure
- `code` (string, optional) — Error code displayed in case of a failure

### 401 Unauthorized Error

Authentication failed

- `message` (string, required) — Readable message associated to the failure
- `code` (string, optional) — Error code displayed in case of a failure

### 403 Forbidden Error

The API key or OAuth token is not allowed to read automations: the OAuth token lacks the `automation:read` scope, or the API key is restricted.

- `message` (string, required) — Readable message associated to the failure
- `code` (string, optional) — Error code displayed in case of a failure

## Types

### AutomationWorkflowsGetResponsesContentApplicationJsonSchemaWorkflowsItems

- `id` (long, optional) — ID of the automation, for `GET /automation/workflows/{workflowId}` and `PUT /automation/workflows/{workflowId}`
- `name` (string, optional) — Name of the automation, as shown in Brevo
- `status` (string, optional) — active, pause, or inactive (a draft or a stopped automation)

## Examples

**Response**

```json
{
  "total_workflows_count": 2,
  "workflows": [
    {
      "id": 1302,
      "name": "Welcome series v2",
      "status": "inactive"
    },
    {
      "id": 1271,
      "name": "Welcome series",
      "status": "active"
    }
  ]
}
```

**SDK Code**

```python response
import requests

url = "https://api.brevo.com/v3/automation/workflows"

headers = {"api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript response
const url = 'https://api.brevo.com/v3/automation/workflows';
const options = {method: 'GET', headers: {'api-key': '<api-key>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go response
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.brevo.com/v3/automation/workflows"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("api-key", "<api-key>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby response
require 'uri'
require 'net/http'

url = URI("https://api.brevo.com/v3/automation/workflows")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
```

```java response
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.brevo.com/v3/automation/workflows")
  .header("api-key", "<api-key>")
  .asString();
```

```php response
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.brevo.com/v3/automation/workflows', [
  'headers' => [
    'api-key' => '<api-key>',
  ],
]);

echo $response->getBody();
```

```csharp response
using RestSharp;

var client = new RestClient("https://api.brevo.com/v3/automation/workflows");
var request = new RestRequest(Method.GET);
request.AddHeader("api-key", "<api-key>");
IRestResponse response = client.Execute(request);
```

```swift response
import Foundation

let headers = ["api-key": "<api-key>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.brevo.com/v3/automation/workflows")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```