get https://api.gupshup.io/wa/app//business/profile/photo
This API endpoint retrieves the profile photo link associated with a given app ID from the Gupshup platform.
Request Parameters
| Key | Description | Constraints |
|---|---|---|
| Headers | ||
| apikey | Apikey of the account where the app is to be created | Should be a valid gupshup.io apikey |
| Path Params | ||
| appId | Valid app id |
Response Parameters
| Key | Description |
|---|---|
| message | Contains the link to the profile photo |
Sample Response
{
"message": "https://gupshup.io/path/to/photo.jpg",
"status": "success"
}Status Codes
Status Code | Response | Comments |
|---|---|---|
| Success | ||
200 | | |
| Error | ||
400 | | When invalid/empty appId is provided |
400 | | When Facebook returns an error while setting business profile photo |
400 | | When an error occurs while fetching photo |
401 | | When API key is unauthorized |
429 | | When the rate limit is exceeded |
