> 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 account details

GET https://api.brevo.com/v3/account

Retrieves details of your Brevo account.

**Use this to:**
- Get account information (email, name, company, address)
- Check plan details (type, credits, expiration)
- Get relay information (for transactional emails)
- Check Marketing Automation status
- Access organization and user identifiers

**Key information returned:**
- Complete account details (organization ID, user ID, company information)
- Address and contact information
- Plan configurations and credit allocations across different verticals
- Marketing Automation settings and tracker key (when enabled)
- SMTP relay configuration for transactional emails
- Enterprise features availability status

**Important considerations:**
- Provides comprehensive account overview for billing and configuration management
- Essential for understanding current plan limitations and feature availability
- Marketing Automation key is only returned when Marketing Automation is enabled on the account
- Plan verticals show detailed breakdown across Marketing, Chat, and CRM categories (only returned when plan verticals are available)
- Relay configuration crucial for transactional email setup and deliverability
- Enterprise status determines access to advanced features and sub-account management


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

## Authentication

- `api-key` header (required) — The API key should be passed in the request headers as `api-key` for authentication.

## Response

### 200

Account information retrieved successfully

- `organization_id` (string, required) — Unique identifier for the organization
- `user_id` (integer, required) — Unique identifier for the user
- `enterprise` (boolean, required) — Indicates if the account has enterprise features
- `companyName` (string, required) — Name of the company
- `email` (string, required) — Login Email
- `firstName` (string, required) — First Name
- `lastName` (string, required) — Last Name
- `plan` (list of object, required) — Information about your plans and credits
  - `credits` (float, required) — Remaining credits of the user
  - `creditsType` (enum, required) — This is the type of the credit, "Send Limit" is one of the possible types of credit of a user. "Send Limit" implies the total number of emails you can send to the subscribers in your account.
    - Allowed values: `sendLimit`
  - `type` (enum, required) — Displays the plan type of the user
    - Allowed values: `payAsYouGo`, `free`, `subscription`, `sms`
  - `endDate` (string, optional) — Date of the period from which the plan will end (Unix timestamp format)
  - `startDate` (string, optional) — Date of the period from which the plan will start (Unix timestamp format)
- `relay` (object, required) — Information about your transactional email account
  - `data` (object, required) — Data regarding the transactional email account
    - `port` (integer, required) — Port used for SMTP Relay
    - `relay` (string, required) — URL of the SMTP Relay
    - `userName` (string, required) — Email to use as login on transactional platform
  - `enabled` (boolean, required) — Status of your transactional email Account (true=Enabled, false=Disabled)
- `address` (object, optional) — Address informations
  - `city` (string, required) — City information
  - `country` (string, required) — Country information
  - `street` (string, required) — Street information
  - `zipCode` (string, required) — Zip Code information
- `marketingAutomation` (object, optional)
  - `enabled` (boolean, required) — Status of Marketing Automation Plateform activation for your account (true=enabled, false=disabled)
  - `key` (string, optional) — Marketing Automation Tracker ID
- `planVerticals` (list of object, optional) — Detailed information about different plan categories
  - `planCategory` (enum, required) — Category of the plan
    - Allowed values: `Marketing`, `Chat`, `CRM`
  - `planType` (string, required) — Type of plan within the category
  - `name` (string, required) — Name of the plan
  - `status` (enum, required) — Current status of the plan
    - Allowed values: `active`, `inactive`
  - `startDate` (string, optional) — Plan start date (Unix timestamp)
  - `endDate` (string, optional) — Plan end date (Unix timestamp)
  - `users` (object, optional, nullable) — User seat information for the plan
    - `purchasedSeats` (string, required) — Number of purchased user seats
    - `usedSeats` (string, required) — Number of used user seats
  - `credits` (string, optional) — Credits allocated for this plan category (optional, may not be present for all plan categories)

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

## Examples

**Response**

```json
{
  "organization_id": "5fa2b8c123456789abcdef01",
  "user_id": 1234567,
  "enterprise": false,
  "companyName": "Acme Marketing Corp",
  "email": "michael.davis@example.com",
  "firstName": "Michael",
  "lastName": "Davis",
  "plan": [
    {
      "credits": 250,
      "creditsType": "sendLimit",
      "type": "free"
    },
    {
      "credits": 15,
      "creditsType": "sendLimit",
      "type": "sms"
    }
  ],
  "relay": {
    "data": {
      "port": 587,
      "relay": "smtp-relay.brevo.com",
      "userName": "michael.davis@example.com"
    },
    "enabled": true
  },
  "address": {
    "city": "New York",
    "country": "United States",
    "street": "456 Business Ave",
    "zipCode": "10001"
  },
  "marketingAutomation": {
    "enabled": true,
    "key": "ma8k2x9v4h7p3d6f1c5e8b2a"
  },
  "planVerticals": [
    {
      "planCategory": "Marketing",
      "planType": "free",
      "name": "Free",
      "status": "active",
      "startDate": "1751234567",
      "endDate": "1753826567",
      "users": {
        "purchasedSeats": "1",
        "usedSeats": "1"
      },
      "credits": "250"
    },
    {
      "planCategory": "Chat",
      "planType": "free",
      "name": "Free",
      "status": "active",
      "startDate": "1735678901",
      "endDate": "1767214901",
      "users": {
        "purchasedSeats": "1",
        "usedSeats": "1"
      }
    },
    {
      "planCategory": "CRM",
      "planType": "free",
      "name": "Free",
      "status": "active",
      "startDate": "1735678900",
      "endDate": "1767214900",
      "users": {
        "purchasedSeats": "1",
        "usedSeats": "1"
      }
    }
  ]
}
```

**SDK Code**

```typescript response
import { BrevoClient } from "@getbrevo/brevo";

async function main() {
    const client = new BrevoClient({
        apiKey: "YOUR_API_KEY_HERE",
    });
    await client.account.getAccount();
}
main();

```

```python response
from brevo import Brevo

client = Brevo(
    api_key="YOUR_API_KEY_HERE",
)

client.account.get_account()

```

```php response
<?php

namespace Example;

use Brevo\Brevo;

$client = new Brevo(
    apiKey: 'YOUR_API_KEY_HERE',
);
$client->account->getAccount();

```

```go response
package main

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

func main() {

	url := "https://api.brevo.com/v3/account"

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

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

	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/account")

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

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

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/account")
  .header("api-key", "<apiKey>")
  .asString();
```

```csharp response
using RestSharp;

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

```swift response
import Foundation

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

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