> 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.

# Get process details

GET https://api.brevo.com/v3/processes/{processId}

Retrieves detailed information about a specific background process.

**Use this to:**
- Get detailed status of a specific process
- Monitor process progress and completion
- Download results from completed export processes
- Check error details for failed processes
- Track process execution times

**Key information returned:**
- Complete process details (ID, name, status)
- Download URLs for completed export processes
- Import details with CSV report URLs for completed import processes

**Important considerations:**
- Process ID must exist in your account and not be deleted
- Completed export processes include download URLs
- Completed import processes include CSV report URLs with details about problematic records
- Different process types return different result structures


Reference: https://developers.brevo.com/reference/get-process

## 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

### Path parameters

- `processId` (long, required) — Id of the process

## Response

### 200

Process information retrieved successfully

- `id` (long, required) — Unique identifier of the process
- `name` (enum, required) — Name/type of the process
  - Allowed values: `IMPORTUSER`, `SEARCH_EXPORT_USERS`, `TRANS-CALC`, `TRANS-GLOBAL-CALC`, `CAMPAIGN_PROCESSING`, `LIST_EXPORT`, `CONTACT_EXPORT`
- `status` (enum, required) — Current status of the process
  - Allowed values: `queued`, `in_process`, `processing`, `completed`, `failed`, `cancelled`
- `info` (ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfo, optional) — Additional process information, only returned for completed IMPORTUSER processes. Contains URLs to CSV files with details about problematic records.
- `export_url` (string, optional) — Download URL for completed export processes (returned for SEARCH_EXPORT_USERS, SEARCH_EXPORT_USERS_API, CAMPAIGN_USER_DETAILS, and EXPORT_WEBHOOK process types)

## Errors

### 400 Bad Request Error

bad request

- `code` (enum, required) — Error code displayed in case of a failure
  - Allowed values: `invalid_parameter`, `missing_parameter`, `out_of_range`, `campaign_processing`, `campaign_sent`, `document_not_found`, `not_enough_credits`, `permission_denied`, `duplicate_parameter`, `duplicate_request`, `method_not_allowed`, `unauthorized`, `account_under_validation`, `not_acceptable`, `bad_request`, `unprocessable_entity`, `Domain does not exist`, `Contact email not found`, `Attribute not found`, `Category id not found`, `Invalid parameters passed`, `Record(s) for identifier not found`, `Returned when query params are invalid`, `Returned when invalid data posted`, `Feed not found`, `Campaign ID not found`, `api-key not found`, `DMARC policy requires domain authentication`, `DNS records not properly configured`, `Invalid OTP code provided`, `OTP code has expired`, `Domain already exists in your account`, `The sum of all IP weights must equal 100`, `Authentication failed`, `Insufficient credits`, `Request already processed`
- `message` (string, required) — Readable message associated to the failure

### 404 Not Found Error

Process ID not found

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

## Types

### ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfo

Additional process information, only returned for completed IMPORTUSER processes. Contains URLs to CSV files with details about problematic records.

- `import` (ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfoImport, optional) — Import process details with URLs to CSV reports

### ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfoImport

Import process details with URLs to CSV reports

- `invalid_emails` (string, optional, nullable) — URL to CSV file containing invalid email addresses, or null if none
- `duplicate_contact_id` (string, optional, nullable) — URL to CSV file containing duplicate contact IDs, or null if none
- `duplicate_ext_id` (string, optional, nullable) — URL to CSV file containing duplicate external IDs, or null if none
- `duplicate_email_id` (string, optional, nullable) — URL to CSV file containing duplicate email IDs, or null if none
- `duplicate_phone_id` (string, optional, nullable) — URL to CSV file containing duplicate phone numbers, or null if none
- `duplicate_whatsapp_id` (string, optional, nullable) — URL to CSV file containing duplicate WhatsApp numbers, or null if none
- `duplicate_landline_number_id` (string, optional, nullable) — URL to CSV file containing duplicate landline numbers, or null if none

## Examples

### Process currently in queue

**Response**

```json
{
  "id": 217,
  "name": "IMPORTUSER",
  "status": "queued"
}
```

**SDK Code**

```python Process currently in queue
import requests

url = "https://api.brevo.com/v3/processes/1"

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

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

print(response.json())
```

```javascript Process currently in queue
const url = 'https://api.brevo.com/v3/processes/1';
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 Process currently in queue
package main

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

func main() {

	url := "https://api.brevo.com/v3/processes/1"

	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 Process currently in queue
require 'uri'
require 'net/http'

url = URI("https://api.brevo.com/v3/processes/1")

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 Process currently in queue
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php Process currently in queue
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

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

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

```csharp Process currently in queue
using RestSharp;

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

```swift Process currently in queue
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.brevo.com/v3/processes/1")! 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()
```

### Completed import process with details

**Response**

```json
{
  "id": 217,
  "name": "IMPORTUSER",
  "status": "completed",
  "info": {
    "import": {
      "invalid_emails": null,
      "duplicate_contact_id": null,
      "duplicate_ext_id": null,
      "duplicate_email_id": null,
      "duplicate_phone_id": null,
      "duplicate_whatsapp_id": null,
      "duplicate_landline_number_id": null
    }
  }
}
```

**SDK Code**

```python Completed import process with details
import requests

url = "https://api.brevo.com/v3/processes/1"

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

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

print(response.json())
```

```javascript Completed import process with details
const url = 'https://api.brevo.com/v3/processes/1';
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 Completed import process with details
package main

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

func main() {

	url := "https://api.brevo.com/v3/processes/1"

	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 Completed import process with details
require 'uri'
require 'net/http'

url = URI("https://api.brevo.com/v3/processes/1")

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 Completed import process with details
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php Completed import process with details
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

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

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

```csharp Completed import process with details
using RestSharp;

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

```swift Completed import process with details
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.brevo.com/v3/processes/1")! 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()
```

### Completed export process with download URL

**Response**

```json
{
  "id": 213,
  "name": "SEARCH_EXPORT_USERS",
  "status": "completed",
  "export_url": "https://s3.eu-west-1.amazonaws.com/api-export.example.com/upload/contacts_export.csv"
}
```

**SDK Code**

```python Completed export process with download URL
import requests

url = "https://api.brevo.com/v3/processes/1"

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

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

print(response.json())
```

```javascript Completed export process with download URL
const url = 'https://api.brevo.com/v3/processes/1';
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 Completed export process with download URL
package main

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

func main() {

	url := "https://api.brevo.com/v3/processes/1"

	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 Completed export process with download URL
require 'uri'
require 'net/http'

url = URI("https://api.brevo.com/v3/processes/1")

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 Completed export process with download URL
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php Completed export process with download URL
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

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

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

```csharp Completed export process with download URL
using RestSharp;

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

```swift Completed export process with download URL
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.brevo.com/v3/processes/1")! 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()
```