Check Health

Use this API to check the health of the Gupshup App.

Parameters

ParametersValueDescription
Authorization{PARTNER_APP_TOKEN}Access Token for the application
appId{APP_ID}Unique Identifier for Gupshup App

Sample Request

curl --location --request GET 'https://partner.gupshup.io/partner/app/{APP_ID}/health' \
--header 'Authorization: {PARTNER_APP_TOKEN}'

Sample Response

{
    "status": "success",
    "healthy": "true"
}

Response Codes

Status Code

Response

Comments

Success

200

{ "status": "success", "healthy": "true" }

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 the WABA ID is not present in the DB

400

{ "message": "WABA id is invalid or given phone is not associated with WABA", "status": "error" }

If the WABA ID present in DB is not correct

400

{ "message": "Error while getting waba info for given app", "status": "error" }

400

{ "message": "Authentication Failed", "status": "error" }

401

{ "status": "error", "message": "Unauthorised access to the resource. Please review request parameters and headers and retry" }

If Invalid appID/token


Language
Click Try It! to start a request and see the response here!