---
updatedAt: 2025-11-03T17:56:38.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Get Waba Info

The API provides an overview of WABA health.

````mdx
<PartnerPortalWarning />

<br />

## Request Parameters

| Key               | Description                                              | Constraints                                                              |
| :---------------- | :------------------------------------------------------- | :----------------------------------------------------------------------- |
| PARTNER_APP_TOKEN | App Access Token issues post Partner login               | Should be a valid Partner app access token belonging to the passed appId |
| appId             | App Id for the app that is linked to the Partner Account |                                                                          |

## Sample Request

```curl
curl --location --request GET '{{partner_portal_base_url}}/partner/app/:appId/waba/info' \
--header 'token: {{PARTNER_APP_TOKEN}}' \
````

## Sample Response

```json
{
    "status": "success",
    "wabaInfo": {
        "accountStatus": "ACTIVE | BANNED",
        "dockerStatus": "CONNECTED | DISCONNECTED | FLAGGED | PENDING | RESTRICTED | UNKNOWN",
        "messagingLimit": "TIER_50 | TIER_250 | TIER_1K | TIER_10K | TIER_100K | TIER_NOT_SET | TIER_UNLIMITED",
        "phone": "{phone}",
        "phoneQuality": "GREEN | YELLOW | RED | UNKNOWN",
        "wabaId": "{waba_id}",
        "canSendMessage" : "AVAILABLE | LIMITED | BLOCKED",
        "errors": [
            {
                "error_code": "141014",
                "error_description": "<error description>",
                "possible_solution": "<posible solution>"
            }
        ],
        "additionalInfo": [
            "Your display name has not been approved yet. Your message limit will increase after the display name is approved."
        ]
    }
}
```

## Status Codes

| Status Code | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Comments                                |
| :---------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| **Success** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                         |
| 200         | `{       "wabaInfo": {           "accountStatus": "ACTIVE",           "dockerStatus": "CONNECTED",           "messagingLimit": "TIER_1K",           "phone": "917835039205",           "phoneQuality": "GREEN",           "wabaId": "116676371511027",           "canSendMessage": "LIMITED",           "additionalInfo": [               "Your display name has not been approved yet. Your message limit will increase after the display name is approved."           ]       },       "status": "success"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | if canSendMessage is LIMITED            |
| 200         | `{       "wabaInfo": {           "accountStatus": "ACTIVE",           "dockerStatus": "CONNECTED",           "messagingLimit": "TIER_1K",           "phone": "918375031069",           "phoneQuality": "GREEN",           "wabaId": "216141188246170",           "canSendMessage": "AVAILABLE"       },       "status": "success"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | if canSendMessage is AVAILABLE          |
| 200         | `{       "wabaInfo": {           "accountStatus": "ACTIVE",           "dockerStatus": "PENDING",           "phone": "918657864833",           "phoneQuality": "UNKNOWN",           "wabaId": "101256882767341",           "canSendMessage": "BLOCKED",           "errors": [               {                   "error_code": "141001",                   "error_description": "The phone number you are trying to send messages with is not verified.",                   "possible_solution": "Register and finish the OTP authentication process for your phone number."               },               {                   "error_code": "141000",                   "error_description": "The phone number you are trying to send messages from is not linked to your WhatsApp account.",                   "possible_solution": "Register and finish the OTP authentication process for your phone number."               }           ]       },       "status": "success"   }` | if canSendMessage is BLOCKED            |
| **Error**   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                         |
| 400         | `{       "message": "App is not live.",       "status": "error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | If app is not live                      |
| 400         | `{       "message": "Waba id not found for the given App",       "status": "error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | If waba id is not present in DB         |
| 400         | `{       "message": "WABA id is invalid or given phone is not associated with WABA",       "status": "error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | If waba id present in DB is not correct |
| 400         | `{       "message": "Error while getting waba info for given app",       "status": "error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                         |
| 401         | `{       "message": "Authentication Failed",       "status": "error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                         |
| 429         | `{     "status": "error",     "message": "Too Many Requests"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 10 Requests per Minute                  |
| 500         | `{     "status": "error",     "message": "Internal Server Error"   }`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | For any Internal Error                  |

````

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Partner Portal API",
    "description": "Partner Portal API documentation",
    "license": {
      "name": "Apache 2.0",
      "url": "https://partner.gupshup.io/partner"
    },
    "version": "3.0.0-SNAPSHOT"
  },
  "externalDocs": {
    "description": "Gupshup Wiki Documentation",
    "url": "https://partner.gupshup.io/partner/docs"
  },
  "servers": [
    {
      "url": "https://partner.gupshup.io/partner",
      "description": "Generated server url"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Partner's Linked Application",
      "description": "API's for partners linked applications"
    }
  ],
  "paths": {
    "/app/{appId}/waba/info/": {
      "get": {
        "tags": [
          "Partner's Linked Application"
        ],
        "summary": "Get Waba Info",
        "operationId": "getWabaHealth_1",
        "parameters": [
          {
            "name": "token",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your app token, please refer [**Get access token api**](https://docs.gupshup.io/reference/get_partner-app-appid-token) to get the token from partner documentation.",
            "example": "sk_345095d735c64a8ab2f97a92e953xxxx"
          },
          {
            "name": "appId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Unique identifier of the app.",
            "example": "a41b30f4-d202-4fdb-911e-3a8fbfbfxxxx"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WabaHealthResponseDetails"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Authentication Failed"
                    },
                    "status": {
                      "type": "string",
                      "example": "error"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too Many Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Too Many Request"
                    },
                    "status": {
                      "type": "string",
                      "example": "error"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    },
                    "status": {
                      "type": "string",
                      "example": "error"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "responses": {
      "400": {
        "description": "Bad Request",
        "content": {
          "application/json": {
            "examples": {
              "App is not live": {
                "value": {
                  "message": "App is not live.",
                  "status": "error"
                }
              },
              "Waba id is not present": {
                "value": {
                  "message": "Waba id not found for the given App",
                  "status": "error"
                }
              },
              "Invalid waba id": {
                "value": {
                  "message": "WABA id is invalid or given phone is not associated with WABA",
                  "status": "error"
                }
              },
              "Error while getting waba info": {
                "value": {
                  "message": "Error while getting waba info for given app",
                  "status": "error"
                }
              }
            }
          }
        }
      }
    },
    "schemas": {
      "Errors": {
        "type": "object",
        "properties": {
          "error_code": {
            "type": "string"
          },
          "error_description": {
            "type": "string"
          },
          "possible_solution": {
            "type": "string"
          }
        }
      },
      "WabaHealthDetails": {
        "type": "object",
        "properties": {
          "accountStatus": {
            "type": "string"
          },
          "dockerStatus": {
            "type": "string"
          },
          "messagingLimit": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "phoneQuality": {
            "type": "string"
          },
          "wabaId": {
            "type": "string"
          },
          "canSendMessage": {
            "type": "string"
          },
          "additionalInfo": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Errors"
            }
          }
        }
      },
      "WabaHealthResponseDetails": {
        "type": "object",
        "properties": {
          "wabaInfo": {
            "$ref": "#/components/schemas/WabaHealthDetails"
          },
          "status": {
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````