# Get Client Whatsapp Business Accounts

**GET** `/{business-id}/client_whatsapp_business_accounts`

Product: [WhatsApp](https://devdocs.pinnacle.in/docs/whatsapp.md)  
Version: [3.0](https://devdocs.pinnacle.in/docs/whatsapp/3-0.md)

This API is used to fetch the client whatsapp business accounts details for the given business id.

## Request

URL: `https://partnersv1.pinbot.ai/v3/{business-id}/client_whatsapp_business_accounts`

Authentication location: `header`

Authentication name: `access_token`

### Request schema


```json
{
  "type": "object",
  "properties": {}
}
```

### Request example


```json
{}
```

## Response schema


```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "timezone_id": {
            "type": "string"
          },
          "message_template_namespace": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Response examples


```json
{
  "200": {
    "data": [
      {
        "id": "waba-id-1",
        "name": "ABC",
        "currency": "INR",
        "timezone_id": "71",
        "message_template_namespace": "message_template_namespace-1"
      },
      {
        "id": "waba-id-2",
        "name": "DEF",
        "currency": "INR",
        "timezone_id": "71",
        "message_template_namespace": "message_template_namespace-2"
      }
    ]
  }
}
```

## Status codes


```json
[
  {
    "code": 200,
    "description": "The request was successful."
  },
  {
    "code": 400,
    "description": "Bad request or invalid parameters."
  },
  {
    "code": 401,
    "description": "API key is missing or invalid."
  },
  {
    "code": 403,
    "description": "The request is not authorized for this resource."
  },
  {
    "code": 404,
    "description": "The requested resource was not found."
  },
  {
    "code": 500,
    "description": "The server encountered an error."
  }
]
```
